public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] include/linux/sched.h: no need to guard the normalize_rt_tasks() prototype
@ 2005-11-20 23:33 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-11-20 23:33 UTC (permalink / raw)
  To: linux-kernel

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>

--- 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [2.6 patch] include/linux/sched.h: no need to guard the normalize_rt_tasks() prototype
@ 2005-12-13 14:58 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-12-13 14:58 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

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>

---

This patch was already sent on:
- 21 Nov 2005

--- 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-12-13 14:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-13 14:58 [2.6 patch] include/linux/sched.h: no need to guard the normalize_rt_tasks() prototype Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2005-11-20 23:33 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox