summaryrefslogtreecommitdiffstats
path: root/include/linux/scif.h
diff options
context:
space:
mode:
authorAl Viro2017-06-07 10:42:31 +0200
committerThomas Gleixner2017-06-14 00:00:42 +0200
commitedbeda46322fbcb15af2d2d0f2daffb0cd349a5a (patch)
treea4aa5436d4e5dcce6f4d041d13c521e1660331b7 /include/linux/scif.h
parentposix-timers: Store rmtp into restart_block in sys_clock_nanosleep() (diff)
downloadkernel-qcow2-linux-edbeda46322fbcb15af2d2d0f2daffb0cd349a5a.tar.gz
kernel-qcow2-linux-edbeda46322fbcb15af2d2d0f2daffb0cd349a5a.tar.xz
kernel-qcow2-linux-edbeda46322fbcb15af2d2d0f2daffb0cd349a5a.zip
time/posix-timers: Move the compat copyouts to the nanosleep implementations
Turn restart_block.nanosleep.{rmtp,compat_rmtp} into a tagged union (kind = 1 -> native, kind = 2 -> compat, kind = 0 -> nothing) and make the places doing actual copyout handle compat as well as native (that will become a helper in the next commit). Result: compat wrappers, messing with reassignments, etc. are gone. [ tglx: Folded in a variant of Peter Zijlstras enum patch ] Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: John Stultz <john.stultz@linaro.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20170607084241.28657-6-viro@ZenIV.linux.org.uk
Diffstat (limited to 'include/linux/scif.h')
0 files changed, 0 insertions, 0 deletions