public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/13] cpumask: Use accessors for cpu_*_mask: arm
@ 2009-06-12 13:03 Rusty Russell
  2009-06-12 19:03 ` Russell King
  0 siblings, 1 reply; 5+ messages in thread
From: Rusty Russell @ 2009-06-12 13:03 UTC (permalink / raw)
  To: Russell King; +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/arm/mach-realview/platsmp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.28.orig/arch/arm/mach-realview/platsmp.c
+++ linux-2.6.28/arch/arm/mach-realview/platsmp.c
@@ -193,7 +193,7 @@ void __init smp_init_cpus(void)
 	unsigned int i, ncores = get_core_count();
 
 	for (i = 0; i < ncores; i++)
-		cpu_set(i, cpu_possible_map);
+		set_cpu_possible(i, true);
 }
 
 void __init smp_prepare_cpus(unsigned int max_cpus)


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

end of thread, other threads:[~2009-06-15  7:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-12 13:03 [PATCH 1/13] cpumask: Use accessors for cpu_*_mask: arm Rusty Russell
2009-06-12 19:03 ` Russell King
2009-06-13 12:55   ` Rusty Russell
2009-06-13 13:49     ` Russell King
2009-06-15  7:44       ` Russell King

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