git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MAINTAINERS - Add file patterns
[sfrench/cifs-2.6.git]
/
kernel
/
cpu.c
diff --git
a/kernel/cpu.c
b/kernel/cpu.c
index 79e40f00dcb89b8b3b5dedb5cc1c7da507e6b322..395b6974dc8d56ccb2d91ede756069fe9b10c975 100644
(file)
--- a/
kernel/cpu.c
+++ b/
kernel/cpu.c
@@
-281,7
+281,7
@@
int __ref cpu_down(unsigned int cpu)
goto out;
}
goto out;
}
-
cpu_clear(cpu, cpu_active_map
);
+
set_cpu_active(cpu, false
);
/*
* Make sure the all cpus did the reschedule and are not
/*
* Make sure the all cpus did the reschedule and are not
@@
-296,7
+296,7
@@
int __ref cpu_down(unsigned int cpu)
err = _cpu_down(cpu, 0);
if (cpu_online(cpu))
err = _cpu_down(cpu, 0);
if (cpu_online(cpu))
-
cpu_set(cpu, cpu_active_map
);
+
set_cpu_active(cpu, true
);
out:
cpu_maps_update_done();
out:
cpu_maps_update_done();
@@
-333,7
+333,7
@@
static int __cpuinit _cpu_up(unsigned int cpu, int tasks_frozen)
goto out_notify;
BUG_ON(!cpu_online(cpu));
goto out_notify;
BUG_ON(!cpu_online(cpu));
-
cpu_set(cpu, cpu_active_map
);
+
set_cpu_active(cpu, true
);
/* Now call notifier in preparation. */
raw_notifier_call_chain(&cpu_chain, CPU_ONLINE | mod, hcpu);
/* Now call notifier in preparation. */
raw_notifier_call_chain(&cpu_chain, CPU_ONLINE | mod, hcpu);