From 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 13 May 2024 10:30:14 +0000 Subject: [PATCH] modify sin led gpio --- kernel/arch/x86/include/asm/vdso/clocksource.h | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/kernel/arch/x86/include/asm/vdso/clocksource.h b/kernel/arch/x86/include/asm/vdso/clocksource.h index 17aa179..119ac86 100644 --- a/kernel/arch/x86/include/asm/vdso/clocksource.h +++ b/kernel/arch/x86/include/asm/vdso/clocksource.h @@ -2,10 +2,9 @@ #ifndef __ASM_VDSO_CLOCKSOURCE_H #define __ASM_VDSO_CLOCKSOURCE_H -#define VCLOCK_NONE 0 /* No vDSO clock available. */ -#define VCLOCK_TSC 1 /* vDSO should use vread_tsc. */ -#define VCLOCK_PVCLOCK 2 /* vDSO should use vread_pvclock. */ -#define VCLOCK_HVCLOCK 3 /* vDSO should use vread_hvclock. */ -#define VCLOCK_MAX 3 +#define VDSO_ARCH_CLOCKMODES \ + VDSO_CLOCKMODE_TSC, \ + VDSO_CLOCKMODE_PVCLOCK, \ + VDSO_CLOCKMODE_HVCLOCK #endif /* __ASM_VDSO_CLOCKSOURCE_H */ -- Gitblit v1.6.2