aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h17
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);
176extern void update_process_times(int user); 176extern void update_process_times(int user);
177extern void scheduler_tick(void); 177extern void scheduler_tick(void);
178 178
179#ifdef CONFIG_DETECT_SOFTLOCKUP
180extern void softlockup_tick(struct pt_regs *regs);
181extern void spawn_softlockup_task(void);
182extern void touch_softlockup_watchdog(void);
183#else
184static inline void softlockup_tick(struct pt_regs *regs)
185{
186}
187static inline void spawn_softlockup_task(void)
188{
189}
190static 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? */