forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/arch/arm/include/asm/vdso/gettimeofday.h
....@@ -7,6 +7,7 @@
77
88 #ifndef __ASSEMBLY__
99
10
+#include <asm/barrier.h>
1011 #include <asm/errno.h>
1112 #include <asm/unistd.h>
1213 #include <asm/vdso/cp15.h>
....@@ -112,7 +113,8 @@
112113 }
113114 #define __arch_vdso_hres_capable arm_vdso_hres_capable
114115
115
-static __always_inline u64 __arch_get_hw_counter(int clock_mode)
116
+static __always_inline u64 __arch_get_hw_counter(int clock_mode,
117
+ const struct vdso_data *vd)
116118 {
117119 #ifdef CONFIG_ARM_ARCH_TIMER
118120 u64 cycle_now;