diff options
author | David Howells <dhowells@redhat.com> | 2010-10-27 16:28:49 (GMT) |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2010-10-27 16:28:49 (GMT) |
commit | 492e675116003b99dfcf0fa70084027e86bc0161 (patch) | |
tree | c799a3c3f3226700e44dfe323f7c3f1764755049 /arch/mn10300/mm/mmu-context.c | |
parent | 8f19e3daf3fffee9e18a8812067a6a4b538ae6c8 (diff) | |
download | linux-492e675116003b99dfcf0fa70084027e86bc0161.tar.xz |
MN10300: Rename __flush_tlb*() to local_flush_tlb*()
Rename __flush_tlb*() to local_flush_tlb*() as it's more appropriate, and ready
to differentiate local from global TLB flushes when SMP is introduced.
Whilst we're at it, get rid of __flush_tlb_global() and make
local_flush_tlb_page() take an mm_struct pointer rather than VMA pointer.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/mn10300/mm/mmu-context.c')
-rw-r--r-- | arch/mn10300/mm/mmu-context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mn10300/mm/mmu-context.c b/arch/mn10300/mm/mmu-context.c index 36ba021..3d83966 100644 --- a/arch/mn10300/mm/mmu-context.c +++ b/arch/mn10300/mm/mmu-context.c @@ -23,7 +23,7 @@ unsigned long mmu_context_cache[NR_CPUS] = { /* * flush the specified TLB entry */ -void flush_tlb_page(struct vm_area_struct *vma, unsigned long addr) +void local_flush_tlb_page(struct mm_struct *mm, unsigned long addr) { unsigned long pteu, cnx, flags; @@ -33,7 +33,7 @@ void flush_tlb_page(struct vm_area_struct *vma, unsigned long addr) * interference from vmalloc'd regions */ local_irq_save(flags); - cnx = mm_context(vma->vm_mm); + cnx = mm_context(mm); if (cnx != MMU_NO_CONTEXT) { pteu = addr | (cnx & 0x000000ffUL); |