public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Magnus Damm <magnus@valinux.co.jp>
To: linux-kernel@vger.kernel.org
Cc: Magnus Damm <magnus@valinux.co.jp>
Subject: [PATCH] CPUSETS: remove SMP dependency
Date: Mon,  3 Oct 2005 17:11:21 +0900 (JST)	[thread overview]
Message-ID: <20051003081045.29997.88069.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(-)

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

             reply	other threads:[~2005-10-03  8:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-03  8:11 Magnus Damm [this message]
2005-10-03  8:43 ` [PATCH] CPUSETS: remove SMP dependency 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

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=20051003081045.29997.88069.sendpatchset@cherry.local \
    --to=magnus@valinux.co.jp \
    --cc=linux-kernel@vger.kernel.org \
    /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