summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2003-01-13 16:45:50 +1100
committerAnton Blanchard <anton@samba.org>2003-01-13 16:45:50 +1100
commiteb4b3b4816a3e580960214d1daa1e38fa5d36694 (patch)
treefb26a7ca0023d29a3fbb8066b76fa9ac0373e013 /include
parent36b7c108fb11b55e7d6031e99dfafebc43efe9b6 (diff)
ppc64: remove mmu_gather_t
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc64/tlb.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/asm-ppc64/tlb.h b/include/asm-ppc64/tlb.h
index f2bd8d3e35c4..67ac2b480b2f 100644
--- a/include/asm-ppc64/tlb.h
+++ b/include/asm-ppc64/tlb.h
@@ -17,8 +17,7 @@
#include <asm/page.h>
#include <asm/mmu.h>
-struct free_pte_ctx;
-static inline void tlb_flush(struct free_pte_ctx *tlb);
+static inline void tlb_flush(struct mmu_gather *tlb);
/* Avoid pulling in another include just for this */
#define check_pgt_cache() do { } while (0)
@@ -74,7 +73,7 @@ static inline void __tlb_remove_tlb_entry(struct mmu_gather *tlb, pte_t *ptep,
batch->index = i;
}
-static inline void tlb_flush(struct free_pte_ctx *tlb)
+static inline void tlb_flush(struct mmu_gather *tlb)
{
int cpu = smp_processor_id();
struct ppc64_tlb_batch *batch = &ppc64_tlb_batch[cpu];