[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20090612133100.1B37FDDD1C@ozlabs.org>
Date: Fri, 12 Jun 2009 22:33:14 +0930
From: Rusty Russell <rusty@...tcorp.com.au>
To: Jeff Dike <jdike@...toit.com>
Cc: Mike Travis <travis@....com>
Subject: [PATCH 6/13] cpumask: Use accessors for cpu_*_mask: um
Use the accessors rather than frobbing bits directly (the new versions
are const).
Signed-off-by: Rusty Russell <rusty@...tcorp.com.au>
Signed-off-by: Mike Travis <travis@....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);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists