summaryrefslogtreecommitdiff
path: root/net/rfkill/rfkill.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-08-19 12:57:26 (GMT)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-08-19 17:13:49 (GMT)
commit6ec8a856e4097d42ece9b0b9459bbca1586f13d7 (patch)
tree4dfe5b828a8f051304028776e8f0203537275e04 /net/rfkill/rfkill.c
parente598fbaabdb6608915cbc5e80409d70f4f857e5c (diff)
downloadlinux-fsl-qoriq-6ec8a856e4097d42ece9b0b9459bbca1586f13d7.tar.xz
KVM: Avoid calling smp_call_function_single() with interrupts disabled
When taking a cpu down, we need to hardware_disable() it. Unfortunately, the CPU_DYING notifier is called with interrupts disabled, which means we can't use smp_call_function_single(). Fortunately, the CPU_DYING notifier is always called on the dying cpu, so we don't need to use the function at all and can simply call hardware_disable() directly. Tested-by: Paolo Ornati <ornati@fastwebnet.it> Signed-off-by: Avi Kivity <avi@qumranet.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/rfkill/rfkill.c')
0 files changed, 0 insertions, 0 deletions