mirror of
https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10.git
synced 2026-09-09 00:07:04 +08:00
JIRA: https://issues.redhat.com/browse/RHEL-141647 commit f247fd22e9f27d919d81861e4dcc438e0b6d179b Author: Sven Schnelle <svens@linux.ibm.com> Date: Wed Oct 23 08:56:00 2024 +0200 s390/time: Add clocksource id to TOD clock To allow specifying the clock source in the upcoming PtP driver, add a clocksource ID to the s390 TOD clock. Acked-by: Heiko Carstens <hca@linux.ibm.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: Sven Schnelle <svens@linux.ibm.com> Link: https://patch.msgid.link/20241023065601.449586-2-svens@linux.ibm.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Mete Durlu <mdurlu@redhat.com>
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
|