forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-09-20 a36159eec6ca17402b0e146b86efaf76568dc353
kernel/arch/arm64/include/asm/vdso/clocksource.h
....@@ -2,8 +2,10 @@
22 #ifndef __ASM_VDSOCLOCKSOURCE_H
33 #define __ASM_VDSOCLOCKSOURCE_H
44
5
-struct arch_clocksource_data {
6
- bool vdso_direct; /* Usable for direct VDSO access? */
7
-};
5
+#define VDSO_ARCH_CLOCKMODES \
6
+ /* vdso clocksource for both 32 and 64bit tasks */ \
7
+ VDSO_CLOCKMODE_ARCHTIMER, \
8
+ /* vdso clocksource for 64bit tasks only */ \
9
+ VDSO_CLOCKMODE_ARCHTIMER_NOCOMPAT
810
911 #endif