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

From: Adrian Bunk
Date: Sun Nov 20 2005 - 18:33:22 EST


There's no need to guard the normalize_rt_tasks() prototype with an
#ifdef CONFIG_MAGIC_SYSRQ.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.15-rc1-mm2-full/include/linux/sched.h.old 2005-11-20 20:44:28.000000000 +0100
+++ linux-2.6.15-rc1-mm2-full/include/linux/sched.h 2005-11-20 20:44:35.000000000 +0100
@@ -1423,12 +1423,8 @@
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/