[v4,21/24] mips: Introduce vdso_direct
diff mbox series

Message ID 20190115135539.24762-22-vincenzo.frascino@arm.com
State New
Headers show
  • Unify vDSOs across more architectures
Related show

Commit Message

Vincenzo Frascino Jan. 15, 2019, 1:55 p.m. UTC
vdso_direct is an architectural clock configuration parameter that
exposes the usage of not of the vDSO.

If vdso_direct is false, the time related syscalls will be used instead
of the vDSO library.

This patch introduces the parameter in the mips architecture to prepare
the ground for the support of the generic vDSO library.

Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
 arch/mips/include/asm/clocksource.h | 1 +
 1 file changed, 1 insertion(+)

diff mbox series

diff --git a/arch/mips/include/asm/clocksource.h b/arch/mips/include/asm/clocksource.h
index 3deb1d0c1a94..eab11ee4871a 100644
--- a/arch/mips/include/asm/clocksource.h
+++ b/arch/mips/include/asm/clocksource.h
@@ -23,6 +23,7 @@ 
  * @vdso_clock_mode: Method the VDSO should use to access the clocksource.
 struct arch_clocksource_data {
+	bool vdso_direct;
 	u8 vdso_clock_mode;