diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2007-10-19 02:39:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 14:53:34 -0400 |
commit | 1c7037db50ebecf3d5cfbf7082daa5d97d900fef (patch) | |
tree | 1843c417160b79c3f79a54d546ddcf5ccdb1b44b /include/asm-powerpc | |
parent | 22124c9999f00340b062fff740db30187bf18454 (diff) |
remove unused flush_tlb_pgtables
Nobody uses flush_tlb_pgtables anymore, this patch removes all remaining
traces of it from all archs.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r-- | include/asm-powerpc/tlbflush.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/asm-powerpc/tlbflush.h b/include/asm-powerpc/tlbflush.h index a022f806bb2..b6b036ccee3 100644 --- a/include/asm-powerpc/tlbflush.h +++ b/include/asm-powerpc/tlbflush.h | |||
@@ -8,7 +8,6 @@ | |||
8 | * - flush_tlb_page_nohash(vma, vmaddr) flushes one page if SW loaded TLB | 8 | * - flush_tlb_page_nohash(vma, vmaddr) flushes one page if SW loaded TLB |
9 | * - flush_tlb_range(vma, start, end) flushes a range of pages | 9 | * - flush_tlb_range(vma, start, end) flushes a range of pages |
10 | * - flush_tlb_kernel_range(start, end) flushes a range of kernel pages | 10 | * - flush_tlb_kernel_range(start, end) flushes a range of kernel pages |
11 | * - flush_tlb_pgtables(mm, start, end) flushes a range of page tables | ||
12 | * | 11 | * |
13 | * This program is free software; you can redistribute it and/or | 12 | * This program is free software; you can redistribute it and/or |
14 | * modify it under the terms of the GNU General Public License | 13 | * modify it under the terms of the GNU General Public License |
@@ -174,15 +173,5 @@ extern void __flush_hash_table_range(struct mm_struct *mm, unsigned long start, | |||
174 | */ | 173 | */ |
175 | extern void update_mmu_cache(struct vm_area_struct *, unsigned long, pte_t); | 174 | extern void update_mmu_cache(struct vm_area_struct *, unsigned long, pte_t); |
176 | 175 | ||
177 | /* | ||
178 | * This is called in munmap when we have freed up some page-table | ||
179 | * pages. We don't need to do anything here, there's nothing special | ||
180 | * about our page-table pages. -- paulus | ||
181 | */ | ||
182 | static inline void flush_tlb_pgtables(struct mm_struct *mm, | ||
183 | unsigned long start, unsigned long end) | ||
184 | { | ||
185 | } | ||
186 | |||
187 | #endif /*__KERNEL__ */ | 176 | #endif /*__KERNEL__ */ |
188 | #endif /* _ASM_POWERPC_TLBFLUSH_H */ | 177 | #endif /* _ASM_POWERPC_TLBFLUSH_H */ |