tlbflush_32.h 582 B

123456789101112131415161718192021222324
  1. #ifndef _SPARC_TLBFLUSH_H
  2. #define _SPARC_TLBFLUSH_H
  3. #include <asm/cachetlb_32.h>
  4. #define flush_tlb_all() \
  5. sparc32_cachetlb_ops->tlb_all()
  6. #define flush_tlb_mm(mm) \
  7. sparc32_cachetlb_ops->tlb_mm(mm)
  8. #define flush_tlb_range(vma, start, end) \
  9. sparc32_cachetlb_ops->tlb_range(vma, start, end)
  10. #define flush_tlb_page(vma, addr) \
  11. sparc32_cachetlb_ops->tlb_page(vma, addr)
  12. /*
  13. * This is a kludge, until I know better. --zaitcev XXX
  14. */
  15. static inline void flush_tlb_kernel_range(unsigned long start,
  16. unsigned long end)
  17. {
  18. flush_tlb_all();
  19. }
  20. #endif /* _SPARC_TLBFLUSH_H */