Commit eb4b3b48 authored by Anton Blanchard's avatar Anton Blanchard

ppc64: remove mmu_gather_t

parent 36b7c108
...@@ -17,8 +17,7 @@ ...@@ -17,8 +17,7 @@
#include <asm/page.h> #include <asm/page.h>
#include <asm/mmu.h> #include <asm/mmu.h>
struct free_pte_ctx; static inline void tlb_flush(struct mmu_gather *tlb);
static inline void tlb_flush(struct free_pte_ctx *tlb);
/* Avoid pulling in another include just for this */ /* Avoid pulling in another include just for this */
#define check_pgt_cache() do { } while (0) #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, ...@@ -74,7 +73,7 @@ static inline void __tlb_remove_tlb_entry(struct mmu_gather *tlb, pte_t *ptep,
batch->index = i; 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(); int cpu = smp_processor_id();
struct ppc64_tlb_batch *batch = &ppc64_tlb_batch[cpu]; struct ppc64_tlb_batch *batch = &ppc64_tlb_batch[cpu];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment