4 #include <linux/swap.h>
5 #include <linux/pagemap.h>
6 #include <asm/pgalloc.h>
7 #include <asm/tlbflush.h>
8 #include <asm/mmu_context.h>
11 extern void smp_flush_tlb_pending(struct mm_struct
*,
12 unsigned long, unsigned long *);
16 extern void smp_flush_tlb_mm(struct mm_struct
*mm
);
17 #define do_flush_tlb_mm(mm) smp_flush_tlb_mm(mm)
19 #define do_flush_tlb_mm(mm) __flush_tlb_mm(CTX_HWBITS(mm->context), SECONDARY_CONTEXT)
22 extern void __flush_tlb_pending(unsigned long, unsigned long, unsigned long *);
23 extern void flush_tlb_pending(void);
25 #define tlb_start_vma(tlb, vma) do { } while (0)
26 #define tlb_end_vma(tlb, vma) do { } while (0)
27 #define __tlb_remove_tlb_entry(tlb, ptep, address) do { } while (0)
28 #define tlb_flush(tlb) flush_tlb_pending()
30 #include <asm-generic/tlb.h>
32 #endif /* _SPARC64_TLB_H */