summaryrefslogtreecommitdiff
path: root/kernel/stop_machine.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-03-30 22:05:16 -0600
committerRusty Russell <rusty@rustcorp.com.au>2009-03-30 22:05:17 +1030
commit612a726faf8486fa48b34fa37115ce1e7421d383 (patch)
tree3448dd7e8129218401eac69b24a6116b06437b4f /kernel/stop_machine.c
parent73d0a4b107d58908305f272bfae9bd17f74a2c81 (diff)
downloadkernel-common-612a726faf8486fa48b34fa37115ce1e7421d383.tar.gz
kernel-common-612a726faf8486fa48b34fa37115ce1e7421d383.tar.bz2
kernel-common-612a726faf8486fa48b34fa37115ce1e7421d383.zip
cpumask: remove cpumask_t from core
Impact: cleanup struct cpumask is nicer, and we use it to make where we've made code safe for CONFIG_CPUMASK_OFFSTACK=y. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/stop_machine.c')
-rw-r--r--kernel/stop_machine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c
index 74541ca49536..912823e2a11b 100644
--- a/kernel/stop_machine.c
+++ b/kernel/stop_machine.c
@@ -44,7 +44,7 @@ static DEFINE_MUTEX(setup_lock);
static int refcount;
static struct workqueue_struct *stop_machine_wq;
static struct stop_machine_data active, idle;
-static const cpumask_t *active_cpus;
+static const struct cpumask *active_cpus;
static void *stop_machine_work;
static void set_state(enum stopmachine_state newstate)