OpenCloudOS-Kernel/lib/vdso
Vincenzo Frascino ffd08731b2 lib/vdso: Make __cvdso_clock_getres() static
Fix the following sparse warning in the generic vDSO library:

  linux/lib/vdso/gettimeofday.c:224:5: warning: symbol
  '__cvdso_clock_getres' was not declared. Should it be static?

Make it static and also mark it __maybe_unsed.

Fixes: 502a590a17 ("lib/vdso: Move fallback invocation to the callers")
Reported-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20191128111719.8282-1-vincenzo.frascino@arm.com
2020-01-10 19:29:01 +01:00
..
Kconfig lib: vdso: Remove CROSS_COMPILE_COMPAT_VDSO 2019-10-07 11:07:17 +01:00
Makefile lib/vdso: Provide generic VDSO implementation 2019-06-22 21:21:05 +02:00
gettimeofday.c lib/vdso: Make __cvdso_clock_getres() static 2020-01-10 19:29:01 +01:00