summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/vdso/vsyscall.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-02-07 13:38:57 +0100
committerThomas Gleixner <tglx@linutronix.de>2020-02-17 20:12:16 +0100
commite1bdb22ebe5363ed75ddedf836ca9f19e1195337 (patch)
tree0ff39b2bb1d92f6f8c045f6dc0299f6b3b155651 /arch/mips/include/asm/vdso/vsyscall.h
parentb95a8a27c300d1a39a4e36f63a518ef36e4b966c (diff)
mips: vdso: Use generic VDSO clock mode storage
Switch to the generic VDSO clock mode storage. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com> Link: https://lkml.kernel.org/r/20200207124403.244684017@linutronix.de
Diffstat (limited to 'arch/mips/include/asm/vdso/vsyscall.h')
-rw-r--r--arch/mips/include/asm/vdso/vsyscall.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/mips/include/asm/vdso/vsyscall.h b/arch/mips/include/asm/vdso/vsyscall.h
index 00d41b94ba31..47168aaf1eff 100644
--- a/arch/mips/include/asm/vdso/vsyscall.h
+++ b/arch/mips/include/asm/vdso/vsyscall.h
@@ -19,15 +19,6 @@ struct vdso_data *__mips_get_k_vdso_data(void)
}
#define __arch_get_k_vdso_data __mips_get_k_vdso_data
-static __always_inline
-int __mips_get_clock_mode(struct timekeeper *tk)
-{
- u32 clock_mode = tk->tkr_mono.clock->archdata.vdso_clock_mode;
-
- return clock_mode;
-}
-#define __arch_get_clock_mode __mips_get_clock_mode
-
/* The asm-generic header needs to be included after the definitions above */
#include <asm-generic/vdso/vsyscall.h>