tlb.h 555 B

123456789101112131415161718192021222324252627
  1. #ifndef __ASM_SH_TLB_H
  2. #define __ASM_SH_TLB_H
  3. #ifdef CONFIG_SUPERH64
  4. # include "tlb_64.h"
  5. #endif
  6. #ifndef __ASSEMBLY__
  7. #define tlb_start_vma(tlb, vma) \
  8. flush_cache_range(vma, vma->vm_start, vma->vm_end)
  9. #define tlb_end_vma(tlb, vma) \
  10. flush_tlb_range(vma, vma->vm_start, vma->vm_end)
  11. #define __tlb_remove_tlb_entry(tlb, pte, address) do { } while (0)
  12. /*
  13. * Flush whole TLBs for MM
  14. */
  15. #define tlb_flush(tlb) flush_tlb_mm((tlb)->mm)
  16. #include <linux/pagemap.h>
  17. #include <asm-generic/tlb.h>
  18. #endif /* __ASSEMBLY__ */
  19. #endif /* __ASM_SH_TLB_H */