Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 May 2011 18:22:09 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r221903 - projects/largeSMP/sys/kern
Message-ID:  <201105141822.p4EIM9qk011286@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: attilio
Date: Sat May 14 18:22:08 2011
New Revision: 221903
URL: http://svn.freebsd.org/changeset/base/221903

Log:
  Simplify the code here.
  
  Submitted by:	jhb

Modified:
  projects/largeSMP/sys/kern/kern_cpuset.c

Modified: projects/largeSMP/sys/kern/kern_cpuset.c
==============================================================================
--- projects/largeSMP/sys/kern/kern_cpuset.c	Sat May 14 18:09:08 2011	(r221902)
+++ projects/largeSMP/sys/kern/kern_cpuset.c	Sat May 14 18:22:08 2011	(r221903)
@@ -797,11 +797,7 @@ cpuset_init(void *arg)
 {
 	cpuset_t mask;
 
-#ifdef SMP
 	mask = all_cpus;
-#else
-	CPU_SETOF(0, &mask);
-#endif
 	if (cpuset_modify(cpuset_zero, &mask))
 		panic("Can't set initial cpuset mask.\n");
 	cpuset_zero->cs_flags |= CPU_SET_RDONLY;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105141822.p4EIM9qk011286>