forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/arch/x86/include/asm/vdso/clocksource.h
....@@ -2,10 +2,9 @@
22 #ifndef __ASM_VDSO_CLOCKSOURCE_H
33 #define __ASM_VDSO_CLOCKSOURCE_H
44
5
-#define VCLOCK_NONE 0 /* No vDSO clock available. */
6
-#define VCLOCK_TSC 1 /* vDSO should use vread_tsc. */
7
-#define VCLOCK_PVCLOCK 2 /* vDSO should use vread_pvclock. */
8
-#define VCLOCK_HVCLOCK 3 /* vDSO should use vread_hvclock. */
9
-#define VCLOCK_MAX 3
5
+#define VDSO_ARCH_CLOCKMODES \
6
+ VDSO_CLOCKMODE_TSC, \
7
+ VDSO_CLOCKMODE_PVCLOCK, \
8
+ VDSO_CLOCKMODE_HVCLOCK
109
1110 #endif /* __ASM_VDSO_CLOCKSOURCE_H */