Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>

---
 include/asm-x86/pgtable_64.h |    3 +++
 1 file changed, 3 insertions(+)

Index: linux/include/asm-x86/pgtable_64.h
===================================================================
--- linux.orig/include/asm-x86/pgtable_64.h
+++ linux/include/asm-x86/pgtable_64.h
@@ -320,6 +320,9 @@ static inline int pmd_large(pmd_t pte) {
        return (pmd_val(pte) & __LARGE_PTE) == __LARGE_PTE; 
 }      
 
+static inline int pud_large(pud_t pte) {
+       return (pud_val(pte) & __LARGE_PTE) == __LARGE_PTE;
+}
 
 /*
  * Conversion functions: convert a page and protection to a page entry,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to