Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ASM_TLB_H |
| 2 | #define _ASM_TLB_H |
| 3 | |
| 4 | #include <asm/tlbflush.h> |
| 5 | |
| 6 | #define check_pgt_cache() do {} while(0) |
| 7 | |
| 8 | /* |
| 9 | * we don't need any special per-pte or per-vma handling... |
| 10 | */ |
| 11 | #define tlb_start_vma(tlb, vma) do { } while (0) |
| 12 | #define tlb_end_vma(tlb, vma) do { } while (0) |
| 13 | #define __tlb_remove_tlb_entry(tlb, ptep, address) do { } while (0) |
| 14 | |
| 15 | /* |
| 16 | * .. because we flush the whole mm when it fills up |
| 17 | */ |
| 18 | #define tlb_flush(tlb) flush_tlb_mm((tlb)->mm) |
| 19 | |
| 20 | #include <asm-generic/tlb.h> |
| 21 | |
| 22 | #endif /* _ASM_TLB_H */ |
| 23 | |