Skip to contentSkip to conversation

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

PATCH New Adrian Bunk 1 participant 1 message Nov 20, 2005 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

include/linux/sched.h renamed from include/linux/sched.h.old +0 -4
@@ -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