summaryrefslogtreecommitdiffstats
path: root/lib/devres.c
diff options
context:
space:
mode:
authorThomas Gleixner2019-07-28 15:12:53 +0200
committerThomas Gleixner2019-07-31 00:09:09 +0200
commit502a590a170b3b3d0ad998ee0b639ac0b3db1dfa (patch)
tree8037b28cd508b44f0165a020e64aa596343eaec2 /lib/devres.c
parentlib/vdso/32: Remove inconsistent NULL pointer checks (diff)
downloadkernel-qcow2-linux-502a590a170b3b3d0ad998ee0b639ac0b3db1dfa.tar.gz
kernel-qcow2-linux-502a590a170b3b3d0ad998ee0b639ac0b3db1dfa.tar.xz
kernel-qcow2-linux-502a590a170b3b3d0ad998ee0b639ac0b3db1dfa.zip
lib/vdso: Move fallback invocation to the callers
To allow syscall fallbacks using the legacy 32bit syscall for 32bit VDSO builds, move the fallback invocation out into the callers. Split the common code out of __cvdso_clock_gettime/getres() and invoke the syscall fallback in the 64bit and 32bit variants. Preparatory work for using legacy syscalls in 32bit VDSO. No functional change. Fixes: 00b26474c2f1 ("lib/vdso: Provide generic VDSO implementation") Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Vincenzo Frascino <vincenzo.frascino@arm.com> Reviewed-by: Andy Lutomirski <luto@kernel.org> Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com> Link: https://lkml.kernel.org/r/20190728131648.695579736@linutronix.de
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions