提交 4c29c4c5 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

[PATCH] include/linux/sched.h: no need to guard the normalize_rt_tasks() prototype

There's no need to guard the normalize_rt_tasks() prototype with an #ifdef
CONFIG_MAGIC_SYSRQ.
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 d974837a
......@@ -1390,12 +1390,8 @@ 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
#ifdef CONFIG_PM
/*
* Check if a process has been frozen
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册