mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
Add clocksource id to the ARM generic counter so that it can be easily identified from callers such as ptp_kvm. Cc: Mark Rutland <[email protected]> Reviewed-by: Andre Przywara <[email protected]> Signed-off-by: Jianyong Wu <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
13 lines
247 B
C
13 lines
247 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _LINUX_CLOCKSOURCE_IDS_H
|
|
#define _LINUX_CLOCKSOURCE_IDS_H
|
|
|
|
/* Enum to give clocksources a unique identifier */
|
|
enum clocksource_ids {
|
|
CSID_GENERIC = 0,
|
|
CSID_ARM_ARCH_COUNTER,
|
|
CSID_MAX,
|
|
};
|
|
|
|
#endif
|