kallsyms: unify 32- and 64-bit code
[linux/fpc-iii.git] / include / asm-sh / tlb.h
blob88ff1ae8a6b872bd0c2043692938e95e47fd37d7
1 #ifndef __ASM_SH_TLB_H
2 #define __ASM_SH_TLB_H
4 #ifdef CONFIG_SUPERH64
5 # include "tlb_64.h"
6 #endif
8 #ifndef __ASSEMBLY__
10 #define tlb_start_vma(tlb, vma) \
11 flush_cache_range(vma, vma->vm_start, vma->vm_end)
13 #define tlb_end_vma(tlb, vma) \
14 flush_tlb_range(vma, vma->vm_start, vma->vm_end)
16 #define __tlb_remove_tlb_entry(tlb, pte, address) do { } while (0)
19 * Flush whole TLBs for MM
21 #define tlb_flush(tlb) flush_tlb_mm((tlb)->mm)
23 #include <linux/pagemap.h>
24 #include <asm-generic/tlb.h>
26 #endif /* __ASSEMBLY__ */
27 #endif /* __ASM_SH_TLB_H */