]> err.no Git - linux-2.6/commitdiff
[PATCH] include/linux/sched.h: no need to guard the normalize_rt_tasks() prototype
authorAdrian Bunk <bunk@stusta.de>
Tue, 10 Jan 2006 04:54:50 +0000 (20:54 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Jan 2006 16:02:02 +0000 (08:02 -0800)
There's no need to guard the normalize_rt_tasks() prototype with an #ifdef
CONFIG_MAGIC_SYSRQ.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/sched.h

index ee4677ad204e6676f7f9591bb86e598bdc11d113..c4ee35dd18aec3baca993e342233f5ccfda96e56 100644 (file)
@@ -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