From: James S. <jsi...@us...> - 2001-10-11 23:06:16
|
Update of /cvsroot/linux-mips/linux/arch/mips64/mm In directory usw-pr-cvs1:/tmp/cvs-serv25759 Modified Files: r4xx0.c Log Message: flush_tlb changes. Index: r4xx0.c =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips64/mm/r4xx0.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- r4xx0.c 2001/10/05 16:36:38 1.4 +++ r4xx0.c 2001/10/11 23:06:13 1.5 @@ -1858,7 +1858,7 @@ #define NTLB_ENTRIES_HALF 24 /* Fixed on all R4XX0 variants... */ -static inline void r4k_flush_tlb_all(void) +void local_flush_tlb_all(void) { unsigned long flags; unsigned long old_ctx; @@ -1891,7 +1891,7 @@ __restore_flags(flags); } -static void r4k_flush_tlb_mm(struct mm_struct *mm) +void local_flush_tlb_mm(struct mm_struct *mm) { if (CPU_CONTEXT(smp_processor_id(), mm) != 0) { unsigned long flags; @@ -1907,7 +1907,7 @@ } } -static void r4k_flush_tlb_range(struct mm_struct *mm, unsigned long start, +static void local_flush_tlb_range(struct mm_struct *mm, unsigned long start, unsigned long end) { if (CPU_CONTEXT(smp_processor_id(), mm) != 0) { @@ -1957,7 +1957,7 @@ } } -static void r4k_flush_tlb_page(struct vm_area_struct *vma, unsigned long page) +static void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page) { if (CPU_CONTEXT(smp_processor_id(), vma->vm_mm) != 0) { unsigned long flags; @@ -2385,10 +2385,6 @@ _flush_cache_sigtramp = r4600v20k_flush_cache_sigtramp; } - _flush_tlb_all = r4k_flush_tlb_all; - _flush_tlb_mm = r4k_flush_tlb_mm; - _flush_tlb_range = r4k_flush_tlb_range; - _flush_tlb_page = r4k_flush_tlb_page; _flush_cache_l2 = r4k_flush_cache_l2; update_mmu_cache = r4k_update_mmu_cache; @@ -2405,5 +2401,5 @@ * be set for 4kb pages. */ write_32bit_cp0_register(CP0_PAGEMASK, PM_4K); - _flush_tlb_all(); + local_flush_tlb_all(); } |