]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/include/asm/page.h
powerpc: Fix build issue with CONFIG_RELOCATABLE=y
[linux-2.6-omap-h63xx.git] / arch / powerpc / include / asm / page.h
index 64e144505f653e0ae1d4f190690ef458e9aad5e7..120f4d49425749266ce8a4fc63e0cabfbcdf877b 100644 (file)
@@ -12,7 +12,9 @@
 
 #include <asm/asm-compat.h>
 #include <asm/kdump.h>
-#include <asm/types.h>
+#ifndef __ASSEMBLY__
+#include <linux/types.h>
+#endif
 
 /*
  * On PPC32 page size is 4K. For PPC64 we support either 4K or 64K software
@@ -73,6 +75,7 @@
 
 #if defined(CONFIG_RELOCATABLE)
 #ifndef __ASSEMBLY__
+
 extern phys_addr_t memstart_addr;
 extern phys_addr_t kernstart_addr;
 #endif