diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-02-07 15:38:58 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-02-17 22:12:16 +0300 |
commit | 5e3c6a312a0946d2d83e32359612cbb925a8bed0 (patch) | |
tree | df9a86cf10c76d554853f566d3551c66a5e2c95a /arch/arm64/include/asm/vdso/vsyscall.h | |
parent | e1bdb22ebe5363ed75ddedf836ca9f19e1195337 (diff) | |
download | linux-5e3c6a312a0946d2d83e32359612cbb925a8bed0.tar.xz |
ARM/arm64: vdso: Use common vdso clock mode storage
Convert ARM/ARM64 to the generic VDSO clock mode storage. This needs to
happen in one go as they share the clocksource driver.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Link: https://lkml.kernel.org/r/20200207124403.363235229@linutronix.de
Diffstat (limited to 'arch/arm64/include/asm/vdso/vsyscall.h')
-rw-r--r-- | arch/arm64/include/asm/vdso/vsyscall.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm64/include/asm/vdso/vsyscall.h b/arch/arm64/include/asm/vdso/vsyscall.h index 0c20a7c1bee5..f94b1457c117 100644 --- a/arch/arm64/include/asm/vdso/vsyscall.h +++ b/arch/arm64/include/asm/vdso/vsyscall.h @@ -22,15 +22,6 @@ struct vdso_data *__arm64_get_k_vdso_data(void) #define __arch_get_k_vdso_data __arm64_get_k_vdso_data static __always_inline -int __arm64_get_clock_mode(struct timekeeper *tk) -{ - u32 use_syscall = !tk->tkr_mono.clock->archdata.vdso_direct; - - return use_syscall; -} -#define __arch_get_clock_mode __arm64_get_clock_mode - -static __always_inline void __arm64_update_vsyscall(struct vdso_data *vdata, struct timekeeper *tk) { vdata[CS_HRES_COARSE].mask = VDSO_PRECISION_MASK; |