Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53906
b: refs/heads/master
c: e8a72ff
h: refs/heads/master
v: v3
  • Loading branch information
Keshavamurthy, Anil S authored and Andi Kleen committed May 2, 2007
1 parent 43f770a commit 4d8fb41
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 141a892f57972b01891df7036f567a70459c19ac
refs/heads/master: e8a72ffa3aa618fb25b5727c0e0ae939d30d66c0
4 changes: 3 additions & 1 deletion trunk/arch/i386/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,10 +359,12 @@ void native_flush_tlb_others(const cpumask_t *cpumaskp, struct mm_struct *mm,
BUG_ON(cpu_isset(smp_processor_id(), cpumask));
BUG_ON(!mm);

#ifdef CONFIG_HOTPLUG_CPU
/* If a CPU which we ran on has gone down, OK. */
cpus_and(cpumask, cpumask, cpu_online_map);
if (cpus_empty(cpumask))
if (unlikely(cpus_empty(cpumask)))
return;
#endif

/*
* i'm not happy about this global shared spinlock in the
Expand Down

0 comments on commit 4d8fb41

Please sign in to comment.