parisc: add missing include of asm/page.h to asm/pgtable.h
authorRolf Eike Beer <eike-kernel@sf-tec.de>
Thu, 10 May 2012 21:07:16 +0000 (23:07 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 10 May 2012 22:12:08 +0000 (15:12 -0700)
Fixes these errors:

In file included from arch/parisc/include/asm/io.h:5:0,
                 from include/linux/io.h:22,
                 from include/linux/pci.h:54,
                 from arch/parisc/kernel/setup.c:35:
arch/parisc/include/asm/pgtable.h:92:6: warning: "PAGE_SHIFT" is not defined [-Wundef]
arch/parisc/include/asm/pgtable.h:92:6: warning: "PAGE_SHIFT" is not defined [-Wundef]
arch/parisc/include/asm/pgtable.h:92:6: warning: "BITS_PER_PTE_ENTRY" is not defined [-Wundef]

Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/parisc/include/asm/pgtable.h

index 22dadeb58695d99a81a718f864ce5b2b42b2474f..ee99f2339356887e82de002de2d180e5fb60405c 100644 (file)
@@ -44,6 +44,8 @@ struct vm_area_struct;
 
 #endif /* !__ASSEMBLY__ */
 
+#include <asm/page.h>
+
 #define pte_ERROR(e) \
        printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e))
 #define pmd_ERROR(e) \