From: Magnus Damm <magnus@valinux.co.jp>
To: linux-kernel@vger.kernel.org
Cc: akpm@osdl.org, Magnus Damm <magnus@valinux.co.jp>, pj@sgi.com
Subject: [PATCH] CPUSETS: remove SMP dependency
Date: Wed, 26 Oct 2005 16:53:21 +0900 (JST) [thread overview]
Message-ID: <20051026075345.21014.53533.sendpatchset@cherry.local> (raw)
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
next reply other threads:[~2005-10-26 7:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-26 7:53 Magnus Damm [this message]
2005-10-26 8:09 ` [PATCH] CPUSETS: remove SMP dependency Andrew Morton
2005-10-26 8:19 ` Magnus Damm
2005-10-26 17:25 ` Paul Jackson
2005-10-27 3:25 ` Magnus Damm
-- strict thread matches above, loose matches on Subject: below --
2005-10-03 8:11 Magnus Damm
2005-10-03 8:43 ` Paul Jackson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051026075345.21014.53533.sendpatchset@cherry.local \
--to=magnus@valinux.co.jp \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pj@sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox