summaryrefslogtreecommitdiffstats
path: root/include/video/sisfb.h
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2017-06-07 10:42:27 +0200
committerThomas Gleixner <tglx@linutronix.de>2017-06-14 00:00:40 +0200
commit15f27ce24cb613e6e01ce27c4094c55e55dde5d4 (patch)
tree8fbbecce0be3837fcea78d9854c8d04d3f6d4441 /include/video/sisfb.h
parentposix-cpu-timers: Move copyout of timespec into do_cpu_nanosleep() (diff)
downloadlinux-15f27ce24cb613e6e01ce27c4094c55e55dde5d4.tar.xz
linux-15f27ce24cb613e6e01ce27c4094c55e55dde5d4.zip
alarmtimer: Move copyout and freeze handling into alarmtimer_do_nsleep()
The alarmtimer nanosleep() implementation can be simplified by moving the copy out of the remaining time to alarmtimer_do_nsleep() which is shared between the real nanosleep function and the restart function. The pointer to the timespec64 which is updated has to be stored in the restart block anyway. Instead of storing it only in the restart case, store it before calling alarmtimer_do_nsleep() and copy the remaining time in the signal exit path. [ tglx: Added changelog ] 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-2-viro@ZenIV.linux.org.uk
Diffstat (limited to 'include/video/sisfb.h')
0 files changed, 0 insertions, 0 deletions