mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-06 14:05:39 +00:00
3a52886c8f
The core code provides a new mechanism to allow conversion between ART and TSC. This allows to replace the x86 specific ART/TSC conversion functions. Prepare for removal by filling in the base clock conversion information for ART and associating the base clock to the TSC clocksource. The existing conversion functions will be removed once the usage sites are converted over to the new model. [ tglx: Massaged change log ] Co-developed-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Co-developed-by: Christopher S. Hall <christopher.s.hall@intel.com> Signed-off-by: Christopher S. Hall <christopher.s.hall@intel.com> Signed-off-by: Lakshmi Sowjanya D <lakshmi.sowjanya.d@intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20240513103813.5666-3-lakshmi.sowjanya.d@intel.com
17 lines
317 B
C
17 lines
317 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_X86_TSC_EARLY,
|
|
CSID_X86_TSC,
|
|
CSID_X86_KVM_CLK,
|
|
CSID_X86_ART,
|
|
CSID_MAX,
|
|
};
|
|
|
|
#endif
|