public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] CPUSETS: remove SMP dependency
@ 2005-10-03  8:11 Magnus Damm
  2005-10-03  8:43 ` Paul Jackson
  0 siblings, 1 reply; 7+ messages in thread
From: Magnus Damm @ 2005-10-03  8:11 UTC (permalink / raw)
  To: linux-kernel; +Cc: Magnus Damm

Remove the SMP dependency from CPUSETS.

Signed-off-by: Magnus Damm <magnus@valinux.co.jp>
---

 include/linux/sched.h |    4 ++++
 init/Kconfig          |    1 -
 2 files changed, 4 insertions(+), 1 deletion(-)

--- from-0002/include/linux/sched.h
+++ to-work/include/linux/sched.h	2005-10-03 16:18:15.000000000 +0900
@@ -590,6 +590,10 @@ struct sched_domain {
 
 extern void partition_sched_domains(cpumask_t *partition1,
 				    cpumask_t *partition2);
+#else /* CONFIG_SMP */
+
+static inline void partition_sched_domains(cpumask_t *partition1,
+					   cpumask_t *partition2) {}
 #endif /* CONFIG_SMP */
 
 
--- from-0002/init/Kconfig
+++ to-work/init/Kconfig	2005-10-03 15:40:51.000000000 +0900
@@ -245,7 +245,6 @@ config IKCONFIG_PROC
 
 config CPUSETS
 	bool "Cpuset support"
-	depends on SMP
 	help
 	  This option will let you create and manage CPUSETs which
 	  allow dynamically partitioning a system into sets of CPUs and

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH] CPUSETS: remove SMP dependency
@ 2005-10-26  7:53 Magnus Damm
  2005-10-26  8:09 ` Andrew Morton
  0 siblings, 1 reply; 7+ messages in thread
From: Magnus Damm @ 2005-10-26  7:53 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, Magnus Damm, pj

Remove the SMP dependency from CPUSETS.

Signed-off-by: Magnus Damm <magnus@valinux.co.jp>
---

 include/linux/sched.h |    4 ++++
 init/Kconfig          |    1 -
 2 files changed, 4 insertions(+), 1 deletion(-)

diff -urNp linux-2.6.14-rc5-mm1/include/linux/sched.h linux-2.6.14-rc5-mm1-cpusets_no_smp/include/linux/sched.h
--- linux-2.6.14-rc5-mm1/include/linux/sched.h	2005-10-24 18:18:17.000000000 +0900
+++ linux-2.6.14-rc5-mm1-cpusets_no_smp/include/linux/sched.h	2005-10-26 16:42:34.000000000 +0900
@@ -636,6 +636,10 @@ struct sched_domain {
 
 extern void partition_sched_domains(cpumask_t *partition1,
 				    cpumask_t *partition2);
+#else /* CONFIG_SMP */
+
+static inline void partition_sched_domains(cpumask_t *partition1,
+					   cpumask_t *partition2) {}
 #endif /* CONFIG_SMP */
 
 
diff -urNp linux-2.6.14-rc5-mm1/init/Kconfig linux-2.6.14-rc5-mm1-cpusets_no_smp/init/Kconfig
--- linux-2.6.14-rc5-mm1/init/Kconfig	2005-10-24 18:18:17.000000000 +0900
+++ linux-2.6.14-rc5-mm1-cpusets_no_smp/init/Kconfig	2005-10-26 16:42:34.000000000 +0900
@@ -266,7 +266,6 @@ config IKCONFIG_PROC
 
 config CPUSETS
 	bool "Cpuset support"
-	depends on SMP
 	help
 	  This option will let you create and manage CPUSETs which
 	  allow dynamically partitioning a system into sets of CPUs and

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

end of thread, other threads:[~2005-10-27  3:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-03  8:11 [PATCH] CPUSETS: remove SMP dependency Magnus Damm
2005-10-03  8:43 ` Paul Jackson
  -- strict thread matches above, loose matches on Subject: below --
2005-10-26  7:53 Magnus Damm
2005-10-26  8:09 ` Andrew Morton
2005-10-26  8:19   ` Magnus Damm
2005-10-26 17:25   ` Paul Jackson
2005-10-27  3:25     ` Magnus Damm

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