diff options
author | Ingo Molnar <mingo@elte.hu> | 2010-08-05 02:45:05 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-08-05 02:45:05 -0400 |
commit | 61be7fdec2f51b99570cd5dcc30c7848c8e56513 (patch) | |
tree | 4a73ee635bc3e35dc54f75caddd26ffb6238bb5c /include/linux/sched.h | |
parent | 12a81c8df13c60904febcafcf6b90ca1acb67122 (diff) | |
parent | eb703f98191a505f78d0066712ad67d5dedc4c90 (diff) |
Merge branch 'perf/nmi' into perf/core
Conflicts:
kernel/Makefile
Merge reason: Add the now complete topic, fix the conflict.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 7b6ec63cb74f..3992f50de614 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -316,20 +316,16 @@ extern void scheduler_tick(void); | |||
316 | 316 | ||
317 | extern void sched_show_task(struct task_struct *p); | 317 | extern void sched_show_task(struct task_struct *p); |
318 | 318 | ||
319 | #ifdef CONFIG_DETECT_SOFTLOCKUP | 319 | #ifdef CONFIG_LOCKUP_DETECTOR |
320 | extern void softlockup_tick(void); | ||
321 | extern void touch_softlockup_watchdog(void); | 320 | extern void touch_softlockup_watchdog(void); |
322 | extern void touch_softlockup_watchdog_sync(void); | 321 | extern void touch_softlockup_watchdog_sync(void); |
323 | extern void touch_all_softlockup_watchdogs(void); | 322 | extern void touch_all_softlockup_watchdogs(void); |
324 | extern int proc_dosoftlockup_thresh(struct ctl_table *table, int write, | 323 | extern int proc_dowatchdog_thresh(struct ctl_table *table, int write, |
325 | void __user *buffer, | 324 | void __user *buffer, |
326 | size_t *lenp, loff_t *ppos); | 325 | size_t *lenp, loff_t *ppos); |
327 | extern unsigned int softlockup_panic; | 326 | extern unsigned int softlockup_panic; |
328 | extern int softlockup_thresh; | 327 | extern int softlockup_thresh; |
329 | #else | 328 | #else |
330 | static inline void softlockup_tick(void) | ||
331 | { | ||
332 | } | ||
333 | static inline void touch_softlockup_watchdog(void) | 329 | static inline void touch_softlockup_watchdog(void) |
334 | { | 330 | { |
335 | } | 331 | } |