summaryrefslogtreecommitdiff
path: root/include/asm-x86/pgtable_32.h
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2008-02-04 18:48:09 +0300
committerIngo Molnar <mingo@elte.hu>2008-02-04 18:48:09 +0300
commit61e19a347ad4bcdda615ef77ef9c3e656e254f3d (patch)
tree483fe902525b3a9aeab3689434eabb659d4de738 /include/asm-x86/pgtable_32.h
parentfbff3c21aff29ffdfa46b50946696689d3e70a48 (diff)
downloadlinux-61e19a347ad4bcdda615ef77ef9c3e656e254f3d.tar.xz
x86: add pgtable accessor functions for gbpages
Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/pgtable_32.h')
-rw-r--r--include/asm-x86/pgtable_32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/pgtable_32.h b/include/asm-x86/pgtable_32.h
index 21e70fbf1dae..935630d17304 100644
--- a/include/asm-x86/pgtable_32.h
+++ b/include/asm-x86/pgtable_32.h
@@ -148,6 +148,8 @@ static inline void clone_pgd_range(pgd_t *dst, pgd_t *src, int count)
*/
#define pgd_offset_k(address) pgd_offset(&init_mm, address)
+static inline int pud_large(pud_t pud) { return 0; }
+
/*
* the pmd page can be thought of an array like this: pmd_t[PTRS_PER_PMD]
*