diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sched.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index dec5827c7742..5fb31bede103 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -176,6 +176,23 @@ extern void trap_init(void); | |||
176 | extern void update_process_times(int user); | 176 | extern void update_process_times(int user); |
177 | extern void scheduler_tick(void); | 177 | extern void scheduler_tick(void); |
178 | 178 | ||
179 | #ifdef CONFIG_DETECT_SOFTLOCKUP | ||
180 | extern void softlockup_tick(struct pt_regs *regs); | ||
181 | extern void spawn_softlockup_task(void); | ||
182 | extern void touch_softlockup_watchdog(void); | ||
183 | #else | ||
184 | static inline void softlockup_tick(struct pt_regs *regs) | ||
185 | { | ||
186 | } | ||
187 | static inline void spawn_softlockup_task(void) | ||
188 | { | ||
189 | } | ||
190 | static inline void touch_softlockup_watchdog(void) | ||
191 | { | ||
192 | } | ||
193 | #endif | ||
194 | |||
195 | |||
179 | /* Attach to any functions which should be ignored in wchan output. */ | 196 | /* Attach to any functions which should be ignored in wchan output. */ |
180 | #define __sched __attribute__((__section__(".sched.text"))) | 197 | #define __sched __attribute__((__section__(".sched.text"))) |
181 | /* Is this address in the __sched functions? */ | 198 | /* Is this address in the __sched functions? */ |