X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-ia64%2Ftlb.h;h=6a9cb3baf2bbc9a4194c03cccc8f2b10d14c2f03;hb=8e8ece46a861c84343256819eaec77e608ff9217;hp=d5c39f752b646a59461507535b1192d9d83288b7;hpb=9bf4aaab3e101692164d49b7ca357651eb691cb6;p=linux-2.6.git diff --git a/include/asm-ia64/tlb.h b/include/asm-ia64/tlb.h index d5c39f752..6a9cb3baf 100644 --- a/include/asm-ia64/tlb.h +++ b/include/asm-ia64/tlb.h @@ -39,7 +39,9 @@ */ #include #include +#include #include +#include #include #include @@ -164,7 +166,6 @@ tlb_finish_mmu (struct mmu_gather *tlb, unsigned long start, unsigned long end) if (rss < freed) freed = rss; - // mm->rss = rss - freed; vx_rsspages_sub(mm, freed); /* * Note: tlb->nr may be 0 at this point, so we can't rely on tlb->start_addr and @@ -236,4 +237,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 */