Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80209
b: refs/heads/master
c: 925596a
h: refs/heads/master
i:
  80207: a205916
v: v3
  • Loading branch information
Jeremy Fitzhardinge authored and Ingo Molnar committed Jan 30, 2008
1 parent 53f65b4 commit 66b908f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 6c3866558213ff706d8331053386915371ad63ec
refs/heads/master: 925596a017bbd045ff711b778256f459e50a1192
10 changes: 5 additions & 5 deletions trunk/arch/x86/mach-voyager/voyager_smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ static DEFINE_SPINLOCK(tlbstate_lock);
* We need to reload %cr3 since the page tables may be going
* away from under us..
*/
static inline void leave_mm(unsigned long cpu)
static inline void voyager_leave_mm(unsigned long cpu)
{
if (per_cpu(cpu_tlbstate, cpu).state == TLBSTATE_OK)
BUG();
Expand Down Expand Up @@ -838,7 +838,7 @@ static void smp_invalidate_interrupt(void)
else
__flush_tlb_one(flush_va);
} else
leave_mm(cpu);
voyager_leave_mm(cpu);
}
smp_mb__before_clear_bit();
clear_bit(cpu, &smp_invalidate_needed);
Expand Down Expand Up @@ -919,7 +919,7 @@ void flush_tlb_mm(struct mm_struct *mm)
if (current->mm)
local_flush_tlb();
else
leave_mm(smp_processor_id());
voyager_leave_mm(smp_processor_id());
}
if (cpu_mask)
voyager_flush_tlb_others(cpu_mask, mm, TLB_FLUSH_ALL);
Expand All @@ -939,7 +939,7 @@ void flush_tlb_page(struct vm_area_struct *vma, unsigned long va)
if (current->mm)
__flush_tlb_one(va);
else
leave_mm(smp_processor_id());
voyager_leave_mm(smp_processor_id());
}

if (cpu_mask)
Expand Down Expand Up @@ -1155,7 +1155,7 @@ static void do_flush_tlb_all(void *info)

__flush_tlb_all();
if (per_cpu(cpu_tlbstate, cpu).state == TLBSTATE_LAZY)
leave_mm(cpu);
voyager_leave_mm(cpu);
}

/* flush the TLB of every active CPU in the system */
Expand Down

0 comments on commit 66b908f

Please sign in to comment.