diff options
author | Jianyong Wu <jianyong.wu@arm.com> | 2020-12-09 14:09:28 +0800 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-04-07 16:33:20 +0100 |
commit | 100148d0fc7dcf8672fe0ac83f44dc5749b4da5c (patch) | |
tree | dfa99aa1ef651931f302437a84602c44ecfcbd3e /include/linux/clocksource_ids.h | |
parent | b2c67cbe9f447312f5cdd7c6641b463f2349aec0 (diff) |
clocksource: Add clocksource id for arm arch counter
Add clocksource id to the ARM generic counter so that it can be easily
identified from callers such as ptp_kvm.
Cc: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20201209060932.212364-6-jianyong.wu@arm.com
Diffstat (limited to 'include/linux/clocksource_ids.h')
-rw-r--r-- | include/linux/clocksource_ids.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/clocksource_ids.h b/include/linux/clocksource_ids.h index 4d8e19e05328..16775d7d8f8d 100644 --- a/include/linux/clocksource_ids.h +++ b/include/linux/clocksource_ids.h @@ -5,6 +5,7 @@ /* Enum to give clocksources a unique identifier */ enum clocksource_ids { CSID_GENERIC = 0, + CSID_ARM_ARCH_COUNTER, CSID_MAX, }; |