]> git.hungrycats.org Git - linux/commitdiff
PPC32: Change struct free_pte_ctx to struct mmu_gather.
authorPaul Mackerras <paulus@samba.org>
Tue, 14 Jan 2003 09:22:38 +0000 (20:22 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 14 Jan 2003 09:22:38 +0000 (20:22 +1100)
A couple of occurrences of struct free_pte_ctx in include/asm-ppc/tlb.h
got missed in akpm's patch - this fixes them.

include/asm-ppc/tlb.h

index b4375599b6103368ce93ae41dcfeca3b84447c5e..2c142c5d85847d15010a1ab8727ae0267c8cdb92 100644 (file)
@@ -21,8 +21,8 @@
 #ifdef CONFIG_PPC_STD_MMU
 /* Classic PPC with hash-table based MMU... */
 
-struct free_pte_ctx;
-extern void tlb_flush(struct free_pte_ctx *tlb);
+struct mmu_gather;
+extern void tlb_flush(struct mmu_gather *tlb);
 
 /* Get the generic bits... */
 #include <asm-generic/tlb.h>
@@ -44,10 +44,6 @@ static inline void __tlb_remove_tlb_entry(struct mmu_gather *tlb, pte_t *ptep,
 #else
 /* Embedded PPC with software-loaded TLB, very simple... */
 
-struct flush_tlb_arch { };
-
-#define tlb_init_arch(tlb, full_flush) do { } while (0)
-#define tlb_finish_arch(tlb)           do { } while (0)
 #define tlb_start_vma(tlb, vma)                do { } while (0)
 #define tlb_end_vma(tlb, vma)          do { } while (0)
 #define __tlb_remove_tlb_entry(tlb, pte, address) do { } while (0)