diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-20 13:06:32 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-20 13:06:32 -0500 |
commit | 20dcfe1b7df4072a3c13bdb7506f7138125d0099 (patch) | |
tree | b7a206aeb59240622a5f24e2c54f3d98c37caba2 /fs/proc/base.c | |
parent | c9b9f207b90468bf9583f7ed71c15d0142bbf9b1 (diff) | |
parent | 336a9cde10d641e70bac67d90ae91b3190c3edca (diff) |
Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull timer updates from Thomas Gleixner:
"Nothing exciting, just the usual pile of fixes, updates and cleanups:
- A bunch of clocksource driver updates
- Removal of CONFIG_TIMER_STATS and the related /proc file
- More posix timer slim down work
- A scalability enhancement in the tick broadcast code
- Math cleanups"
* 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (23 commits)
hrtimer: Catch invalid clockids again
math64, tile: Fix build failure
clocksource/drivers/arm_arch_timer:: Mark cyclecounter __ro_after_init
timerfd: Protect the might cancel mechanism proper
timer_list: Remove useless cast when printing
time: Remove CONFIG_TIMER_STATS
clocksource/drivers/arm_arch_timer: Work around Hisilicon erratum 161010101
clocksource/drivers/arm_arch_timer: Introduce generic errata handling infrastructure
clocksource/drivers/arm_arch_timer: Remove fsl-a008585 parameter
clocksource/drivers/arm_arch_timer: Add dt binding for hisilicon-161010101 erratum
clocksource/drivers/ostm: Add renesas-ostm timer driver
clocksource/drivers/ostm: Document renesas-ostm timer DT bindings
clocksource/drivers/tcb_clksrc: Use 32 bit tcb as sched_clock
clocksource/drivers/gemini: Add driver for the Cortina Gemini
clocksource: add DT bindings for Cortina Gemini
clockevents: Add a clkevt-of mechanism like clksrc-of
tick/broadcast: Reduce lock cacheline contention
timers: Omit POSIX timer stuff from task_struct when disabled
x86/timer: Make delay() work during early bootup
delay: Add explanation of udelay() inaccuracy
...
Diffstat (limited to 'fs/proc/base.c')
-rw-r--r-- | fs/proc/base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index 87c9a9aacda3..b1f7d30e96c2 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c | |||
@@ -2179,7 +2179,7 @@ static const struct file_operations proc_map_files_operations = { | |||
2179 | .llseek = generic_file_llseek, | 2179 | .llseek = generic_file_llseek, |
2180 | }; | 2180 | }; |
2181 | 2181 | ||
2182 | #ifdef CONFIG_CHECKPOINT_RESTORE | 2182 | #if defined(CONFIG_CHECKPOINT_RESTORE) && defined(CONFIG_POSIX_TIMERS) |
2183 | struct timers_private { | 2183 | struct timers_private { |
2184 | struct pid *pid; | 2184 | struct pid *pid; |
2185 | struct task_struct *task; | 2185 | struct task_struct *task; |
@@ -2936,7 +2936,7 @@ static const struct pid_entry tgid_base_stuff[] = { | |||
2936 | REG("projid_map", S_IRUGO|S_IWUSR, proc_projid_map_operations), | 2936 | REG("projid_map", S_IRUGO|S_IWUSR, proc_projid_map_operations), |
2937 | REG("setgroups", S_IRUGO|S_IWUSR, proc_setgroups_operations), | 2937 | REG("setgroups", S_IRUGO|S_IWUSR, proc_setgroups_operations), |
2938 | #endif | 2938 | #endif |
2939 | #ifdef CONFIG_CHECKPOINT_RESTORE | 2939 | #if defined(CONFIG_CHECKPOINT_RESTORE) && defined(CONFIG_POSIX_TIMERS) |
2940 | REG("timers", S_IRUGO, proc_timers_operations), | 2940 | REG("timers", S_IRUGO, proc_timers_operations), |
2941 | #endif | 2941 | #endif |
2942 | REG("timerslack_ns", S_IRUGO|S_IWUGO, proc_pid_set_timerslack_ns_operations), | 2942 | REG("timerslack_ns", S_IRUGO|S_IWUGO, proc_pid_set_timerslack_ns_operations), |