projects
/
wrapfs-5.3.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cbcd44
)
[PATCH] SPARC64: Add missing cpus_empty() check in hypervisor xcall handling.
author
David Miller
<davem@davemloft.net>
Tue, 15 May 2007 08:37:56 +0000
(
01:37
-0700)
committer
Chris Wright
<chrisw@sous-sol.org>
Wed, 23 May 2007 21:32:51 +0000
(14:32 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
arch/sparc64/kernel/smp.c
patch
|
blob
|
history
diff --git
a/arch/sparc64/kernel/smp.c
b/arch/sparc64/kernel/smp.c
index fc99f7b8012f46157461cae1061a8c1544e30909..8ad7bdb062d44cc9257d518b22668e2d0438181f 100644
(file)
--- a/
arch/sparc64/kernel/smp.c
+++ b/
arch/sparc64/kernel/smp.c
@@
-566,6
+566,9
@@
static void hypervisor_xcall_deliver(u64 data0, u64 data1, u64 data2, cpumask_t
unsigned long flags, status;
int cnt, retries, this_cpu, prev_sent, i;
+ if (cpus_empty(mask))
+ return;
+
/* We have to do this whole thing with interrupts fully disabled.
* Otherwise if we send an xcall from interrupt context it will
* corrupt both our mondo block and cpu list state.