git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://one.firstfloor.org/home/andi/git/linux-2.6
[pandora-kernel.git]
/
arch
/
x86_64
/
kernel
/
smp.c
diff --git
a/arch/x86_64/kernel/smp.c
b/arch/x86_64/kernel/smp.c
index
1bf0e09
..
af1ec4d
100644
(file)
--- a/
arch/x86_64/kernel/smp.c
+++ b/
arch/x86_64/kernel/smp.c
@@
-379,6
+379,10
@@
int smp_call_function_single (int cpu, void (*func) (void *info), void *info,
put_cpu();
return 0;
}
+
+ /* Can deadlock when called with interrupts disabled */
+ WARN_ON(irqs_disabled());
+
spin_lock_bh(&call_lock);
__smp_call_function_single(cpu, func, info, nonatomic, wait);
spin_unlock_bh(&call_lock);