Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156983
b: refs/heads/master
c: 83d349f
h: refs/heads/master
i:
  156981: 7c7d249
  156979: 7aacfbe
  156975: 3e08931
v: v3
  • Loading branch information
Linus Torvalds committed Aug 21, 2009
1 parent 7b3499b commit c85ce95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 429966b8f644dda2afddb4f834a944e9b46a7645
refs/heads/master: 83d349f35e1ae72268c5104dbf9ab2ae635425d4
3 changes: 3 additions & 0 deletions trunk/arch/x86/kernel/apic/ipi.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ void default_send_IPI_mask_logical(const struct cpumask *cpumask, int vector)
unsigned long mask = cpumask_bits(cpumask)[0];
unsigned long flags;

if (WARN_ONCE(!mask, "empty IPI mask"))
return;

local_irq_save(flags);
WARN_ON(mask & ~cpumask_bits(cpu_online_mask)[0]);
__default_send_IPI_dest_field(mask, vector, apic->dest_logical);
Expand Down

0 comments on commit c85ce95

Please sign in to comment.