diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index f7efc8604652..7e35d4b9e14a 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -22,7 +22,7 @@ struct sched_param { | |||
22 | #include <linux/errno.h> | 22 | #include <linux/errno.h> |
23 | #include <linux/nodemask.h> | 23 | #include <linux/nodemask.h> |
24 | #include <linux/mm_types.h> | 24 | #include <linux/mm_types.h> |
25 | #include <linux/preempt.h> | 25 | #include <linux/preempt_mask.h> |
26 | 26 | ||
27 | #include <asm/page.h> | 27 | #include <asm/page.h> |
28 | #include <asm/ptrace.h> | 28 | #include <asm/ptrace.h> |
@@ -286,6 +286,14 @@ static inline void lockup_detector_init(void) | |||
286 | } | 286 | } |
287 | #endif | 287 | #endif |
288 | 288 | ||
289 | #ifdef CONFIG_DETECT_HUNG_TASK | ||
290 | void reset_hung_task_detector(void); | ||
291 | #else | ||
292 | static inline void reset_hung_task_detector(void) | ||
293 | { | ||
294 | } | ||
295 | #endif | ||
296 | |||
289 | /* Attach to any functions which should be ignored in wchan output. */ | 297 | /* Attach to any functions which should be ignored in wchan output. */ |
290 | #define __sched __attribute__((__section__(".sched.text"))) | 298 | #define __sched __attribute__((__section__(".sched.text"))) |
291 | 299 | ||