aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorThomas Gleixner2020-02-07 13:38:49 +0100
committerThomas Gleixner2020-02-17 14:40:20 +0100
commit78560d41064ad3d377e3d1a1ee87526301f4e946 (patch)
tree8c7499df1a7b81134e0b4e6566a59d3b96ea3885 /arch
parent50e818715821b89c7abac90a97721f106e893d83 (diff)
ARM: vdso: Remove unused function
The function is nowhere used. Aside of that this check should only cover the high resolution parts of the VDSO which require a VDSO capable clocksource and not the complete functionality as the name suggests. Will be replaced with something more useful. 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/20200207124402.438179009@linutronix.de
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/vdso/vsyscall.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/include/asm/vdso/vsyscall.h b/arch/arm/include/asm/vdso/vsyscall.h
index cff87d8d30da..85a7e58b7228 100644
--- a/arch/arm/include/asm/vdso/vsyscall.h
+++ b/arch/arm/include/asm/vdso/vsyscall.h
@@ -50,13 +50,6 @@ int __arm_get_clock_mode(struct timekeeper *tk)
#define __arch_get_clock_mode __arm_get_clock_mode
static __always_inline
-int __arm_use_vsyscall(struct vdso_data *vdata)
-{
- return vdata[CS_HRES_COARSE].clock_mode;
-}
-#define __arch_use_vsyscall __arm_use_vsyscall
-
-static __always_inline
void __arm_sync_vdso_data(struct vdso_data *vdata)
{
flush_dcache_page(virt_to_page(vdata));