X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-ia64%2Ftlb.h;h=beaca6d11a90b9cf06700f24c145610e76539e08;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=f1ff70964e2a96dfa5a34c2756f21d8b9e4f9242;hpb=a8e794ca871505c8ea96cc102f4ad555c5231d7f;p=linux-2.6.git diff --git a/include/asm-ia64/tlb.h b/include/asm-ia64/tlb.h index f1ff70964..beaca6d11 100644 --- a/include/asm-ia64/tlb.h +++ b/include/asm-ia64/tlb.h @@ -39,11 +39,14 @@ */ #include #include +#include #include +#include #include #include #include +#include #ifdef CONFIG_SMP # define FREE_PTE_NR 2048 @@ -212,6 +215,8 @@ __tlb_remove_tlb_entry (struct mmu_gather *tlb, pte_t *ptep, unsigned long addre tlb->end_addr = address + PAGE_SIZE; } +#define tlb_migrate_finish(mm) platform_tlb_migrate_finish(mm) + #define tlb_start_vma(tlb, vma) do { } while (0) #define tlb_end_vma(tlb, vma) do { } while (0) @@ -233,4 +238,10 @@ do { \ __pmd_free_tlb(tlb, ptep); \ } while (0) +#define pud_free_tlb(tlb, pudp) \ +do { \ + tlb->need_flush = 1; \ + __pud_free_tlb(tlb, pudp); \ +} while (0) + #endif /* _ASM_IA64_TLB_H */