tlb.h 576 B

123456789101112131415161718192021222324252627
  1. #ifndef _ASM_TLB_H
  2. #define _ASM_TLB_H
  3. #include <asm/tlbflush.h>
  4. #ifdef CONFIG_MMU
  5. extern void check_pgt_cache(void);
  6. #else
  7. #define check_pgt_cache() do {} while(0)
  8. #endif
  9. /*
  10. * we don't need any special per-pte or per-vma handling...
  11. */
  12. #define tlb_start_vma(tlb, vma) do { } while (0)
  13. #define tlb_end_vma(tlb, vma) do { } while (0)
  14. #define __tlb_remove_tlb_entry(tlb, ptep, address) do { } while (0)
  15. /*
  16. * .. because we flush the whole mm when it fills up
  17. */
  18. #define tlb_flush(tlb) flush_tlb_mm((tlb)->mm)
  19. #include <asm-generic/tlb.h>
  20. #endif /* _ASM_TLB_H */