summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/clocksource.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-02-07 15:38:58 +0300
committerThomas Gleixner <tglx@linutronix.de>2020-02-17 22:12:16 +0300
commit5e3c6a312a0946d2d83e32359612cbb925a8bed0 (patch)
treedf9a86cf10c76d554853f566d3551c66a5e2c95a /arch/arm64/include/asm/clocksource.h
parente1bdb22ebe5363ed75ddedf836ca9f19e1195337 (diff)
downloadlinux-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/clocksource.h')
-rw-r--r--arch/arm64/include/asm/clocksource.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm64/include/asm/clocksource.h b/arch/arm64/include/asm/clocksource.h
index 0ece64a26c8c..eb82e9d95c5d 100644
--- a/arch/arm64/include/asm/clocksource.h
+++ b/arch/arm64/include/asm/clocksource.h
@@ -2,8 +2,7 @@
#ifndef _ASM_CLOCKSOURCE_H
#define _ASM_CLOCKSOURCE_H
-struct arch_clocksource_data {
- bool vdso_direct; /* Usable for direct VDSO access? */
-};
+#define VDSO_ARCH_CLOCKMODES \
+ VDSO_CLOCKMODE_ARCHTIMER
#endif