diff options
| author | Måns Rullgård <mru@inprovide.com> | 2004-11-07 04:06:45 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-11-07 04:06:45 -0800 |
| commit | 107e7ba54f5dcd12b5ddbd6a41cf7a9f08b0ea4e (patch) | |
| tree | 96f4acd1a9498591d446247ceb6e963b6ee0c5a3 /include/linux | |
| parent | 4b44897435a4e907b87cb14501c04d593f2323d8 (diff) | |
[PATCH] SysRq-n changes RT tasks to normal
Teach sysrq-N to switch all rt-policy tasks to SCHED_OTHER. For recovering
from (and diagnosing) userspace bugs.
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sched.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 5d4ebb202ea6..0c8262c6d6b8 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1105,6 +1105,12 @@ static inline void arch_pick_mmap_layout(struct mm_struct *mm) extern long sched_setaffinity(pid_t pid, cpumask_t new_mask); extern long sched_getaffinity(pid_t pid, cpumask_t *mask); +#ifdef CONFIG_MAGIC_SYSRQ + +extern void normalize_rt_tasks(void); + +#endif + #endif /* __KERNEL__ */ #endif |
