mirror of
https://github.com/adulau/aha.git
synced 2025-01-02 14:13:18 +00:00
[SPARC64]: Add missing cpus_empty() check in hypervisor xcall handling.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ec6fb1ad84
commit
17f34f0ec9
1 changed files with 3 additions and 0 deletions
|
@ -561,6 +561,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.
|
||||
|
|
Loading…
Reference in a new issue