hc
2024-05-10 10ebd8556b7990499c896a550e3d416b444211e6
kernel/arch/mips/include/asm/vdso/clocksource.h
....@@ -2,19 +2,8 @@
22 #ifndef __ASM_VDSOCLOCKSOURCE_H
33 #define __ASM_VDSOCLOCKSOURCE_H
44
5
-#include <linux/types.h>
6
-
7
-/* VDSO clocksources. */
8
-#define VDSO_CLOCK_NONE 0 /* No suitable clocksource. */
9
-#define VDSO_CLOCK_R4K 1 /* Use the coprocessor 0 count. */
10
-#define VDSO_CLOCK_GIC 2 /* Use the GIC. */
11
-
12
-/**
13
- * struct arch_clocksource_data - Architecture-specific clocksource information.
14
- * @vdso_clock_mode: Method the VDSO should use to access the clocksource.
15
- */
16
-struct arch_clocksource_data {
17
- u8 vdso_clock_mode;
18
-};
5
+#define VDSO_ARCH_CLOCKMODES \
6
+ VDSO_CLOCKMODE_R4K, \
7
+ VDSO_CLOCKMODE_GIC
198
209 #endif /* __ASM_VDSOCLOCKSOURCE_H */