mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 13:03:48 +00:00
To allow specifying the clock source in the upcoming PtP driver, add a clocksource ID to the s390 TOD clock. Acked-by: Heiko Carstens <[email protected]> Acked-by: Richard Cochran <[email protected]> Signed-off-by: Sven Schnelle <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
18 lines
333 B
C
18 lines
333 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_S390_TOD,
|
|
CSID_X86_TSC_EARLY,
|
|
CSID_X86_TSC,
|
|
CSID_X86_KVM_CLK,
|
|
CSID_X86_ART,
|
|
CSID_MAX,
|
|
};
|
|
|
|
#endif
|