Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7321
b: refs/heads/master
c: 0c2b9d5
h: refs/heads/master
i:
  7319: 9b83559
v: v3
  • Loading branch information
Ashok Raj authored and Linus Torvalds committed Sep 7, 2005
1 parent 057e260 commit ec97eb3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 19aaabb5841439988fc357f90d5c59d28fa84658
refs/heads/master: 0c2b9d5c035f5a82c9c4ba717984d04838a0701e
6 changes: 5 additions & 1 deletion trunk/arch/x86_64/kernel/genapic_cluster.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,14 @@ static void cluster_send_IPI_mask(cpumask_t mask, int vector)
static void cluster_send_IPI_allbutself(int vector)
{
cpumask_t mask = cpu_online_map;
cpu_clear(smp_processor_id(), mask);
int me = get_cpu(); /* Ensure we are not preempted when we clear */

cpu_clear(me, mask);

if (!cpus_empty(mask))
cluster_send_IPI_mask(mask, vector);

put_cpu();
}

static void cluster_send_IPI_all(int vector)
Expand Down

0 comments on commit ec97eb3

Please sign in to comment.