diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 6682da36b293..7bb4b4a2a101 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -285,6 +285,14 @@ static inline void lockup_detector_init(void) | |||
285 | } | 285 | } |
286 | #endif | 286 | #endif |
287 | 287 | ||
288 | #ifdef CONFIG_DETECT_HUNG_TASK | ||
289 | void reset_hung_task_detector(void); | ||
290 | #else | ||
291 | static inline void reset_hung_task_detector(void) | ||
292 | { | ||
293 | } | ||
294 | #endif | ||
295 | |||
288 | /* Attach to any functions which should be ignored in wchan output. */ | 296 | /* Attach to any functions which should be ignored in wchan output. */ |
289 | #define __sched __attribute__((__section__(".sched.text"))) | 297 | #define __sched __attribute__((__section__(".sched.text"))) |
290 | 298 | ||