mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 6/13] cpumask: Use accessors for cpu_*_mask: um
@ 2009-06-12 13:03 Rusty Russell
  0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2009-06-12 13:03 UTC (permalink / raw)
  To: Jeff Dike; +Cc: linux-kernel, Mike Travis


Use the accessors rather than frobbing bits directly (the new versions
are const).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
---
 arch/um/kernel/smp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.28.orig/arch/um/kernel/smp.c
+++ linux-2.6.28/arch/um/kernel/smp.c
@@ -118,7 +118,7 @@ void smp_prepare_cpus(unsigned int maxcp
 	int i;
 
 	for (i = 0; i < ncpus; ++i)
-		cpu_set(i, cpu_possible_map);
+		set_cpu_possible(i, true);
 
 	cpu_clear(me, cpu_online_map);
 	cpu_set(me, cpu_online_map);


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-12 13:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-12 13:03 [PATCH 6/13] cpumask: Use accessors for cpu_*_mask: um Rusty Russell

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

all inboxes | Powered by JetHome®