git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
include
/
asm-generic
/
tlb.h
diff --git
a/include/asm-generic/tlb.h
b/include/asm-generic/tlb.h
index
c293149
..
c89d99d
100644
(file)
--- a/
include/asm-generic/tlb.h
+++ b/
include/asm-generic/tlb.h
@@
-143,6
+143,14
@@
static inline void tlb_remove_page(struct mmu_gather *tlb, struct page *page)
__pte_free_tlb(tlb, ptep); \
} while (0)
__pte_free_tlb(tlb, ptep); \
} while (0)
+#ifndef __ARCH_HAS_4LEVEL_HACK
+#define pud_free_tlb(tlb, pudp) \
+ do { \
+ tlb->need_flush = 1; \
+ __pud_free_tlb(tlb, pudp); \
+ } while (0)
+#endif
+
#define pmd_free_tlb(tlb, pmdp) \
do { \
tlb->need_flush = 1; \
#define pmd_free_tlb(tlb, pmdp) \
do { \
tlb->need_flush = 1; \