2005-04-17 02:20:36 +04:00
|
|
|
#ifndef __ASM_SH_TLB_H
|
|
|
|
#define __ASM_SH_TLB_H
|
|
|
|
|
2007-11-10 14:35:53 +03:00
|
|
|
#ifdef CONFIG_SUPERH64
|
|
|
|
# include "tlb_64.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
#define tlb_start_vma(tlb, vma) \
|
|
|
|
flush_cache_range(vma, vma->vm_start, vma->vm_end)
|
|
|
|
|
|
|
|
#define tlb_end_vma(tlb, vma) \
|
|
|
|
flush_tlb_range(vma, vma->vm_start, vma->vm_end)
|
|
|
|
|
|
|
|
#define __tlb_remove_tlb_entry(tlb, pte, address) do { } while (0)
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Flush whole TLBs for MM
|
|
|
|
*/
|
|
|
|
#define tlb_flush(tlb) flush_tlb_mm((tlb)->mm)
|
|
|
|
|
2008-02-13 08:09:03 +03:00
|
|
|
#include <linux/pagemap.h>
|
2005-04-17 02:20:36 +04:00
|
|
|
#include <asm-generic/tlb.h>
|
2007-11-10 14:35:53 +03:00
|
|
|
|
|
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
#endif /* __ASM_SH_TLB_H */
|