diff options
author | Heiko Carstens | 2011-01-05 12:48:17 +0100 |
---|---|---|
committer | Martin Schwidefsky | 2011-01-05 12:47:31 +0100 |
commit | 19726cec63aeadad127f9e72ee69240336e37f15 (patch) | |
tree | e32d28dd4657bd01bb5af3a8b0ce786e769042ac /drivers/s390/char/sclp_config.c | |
parent | [S390] smp: remove cpu hotplug messages (diff) | |
download | kernel-qcow2-linux-19726cec63aeadad127f9e72ee69240336e37f15.tar.gz kernel-qcow2-linux-19726cec63aeadad127f9e72ee69240336e37f15.tar.xz kernel-qcow2-linux-19726cec63aeadad127f9e72ee69240336e37f15.zip |
[S390] cpuinfo: use get_online_cpus() instead of preempt_disable()
Use get_online_cpus() instead of preempt_disable() to make sure cpus
don't go offline while accessing their per cpu data.
The preempt_disable() stuff is old code which was used before
get_online_cpus() was available.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/char/sclp_config.c')
0 files changed, 0 insertions, 0 deletions