timers: Omit POSIX timer stuff from task_struct when disabled
authorNicolas Pitre <nicolas.pitre@linaro.org>
Sat, 21 Jan 2017 05:09:08 +0000 (00:09 -0500)
committerJohn Stultz <john.stultz@linaro.org>
Fri, 27 Jan 2017 21:05:26 +0000 (13:05 -0800)
commitb18b6a9cef7f30e9a8b7738d5fc8d568cf660855
tree51be9f1d6b36120182dc4e0906460ddc1e011d65
parent9f8197980d87a28ec3d0b3b986f770e7e7878485
timers: Omit POSIX timer stuff from task_struct when disabled

When CONFIG_POSIX_TIMERS is disabled, it is preferable to remove related
structures from struct task_struct and struct signal_struct as they
won't contain anything useful and shouldn't be relied upon by mistake.
Code still referencing those structures is also disabled here.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
fs/proc/base.c
include/linux/init_task.h
include/linux/sched.h
kernel/fork.c
kernel/sched/rt.c
kernel/sched/stats.h