page allocator: inline some __alloc_pages() wrappers
[linux-2.6/mini2440.git] / include / asm-parisc / tlb.h
blob383b1db310ee71e18789112587f9ba3e818bdd25
1 #ifndef _PARISC_TLB_H
2 #define _PARISC_TLB_H
4 #define tlb_flush(tlb) \
5 do { if ((tlb)->fullmm) \
6 flush_tlb_mm((tlb)->mm);\
7 } while (0)
9 #define tlb_start_vma(tlb, vma) \
10 do { if (!(tlb)->fullmm) \
11 flush_cache_range(vma, vma->vm_start, vma->vm_end); \
12 } while (0)
14 #define tlb_end_vma(tlb, vma) \
15 do { if (!(tlb)->fullmm) \
16 flush_tlb_range(vma, vma->vm_start, vma->vm_end); \
17 } while (0)
19 #define __tlb_remove_tlb_entry(tlb, pte, address) \
20 do { } while (0)
22 #include <asm-generic/tlb.h>
24 #define __pmd_free_tlb(tlb, pmd) pmd_free((tlb)->mm, pmd)
25 #define __pte_free_tlb(tlb, pte) pte_free((tlb)->mm, pte)
27 #endif