浏览代码

arm: fix implicit use of page.h in several arch/arm files

Add the include to fix things like this:

arch/arm/mach-sa1100/jornada720.c:278: error: 'PAGE_SHIFT' undeclared here (not in a function)
arch/arm/mach-bcmring/mm.c:32: error: 'PAGE_SHIFT' undeclared here (not in a function)
arch/arm/mach-sa1100/collie.c:361: error: 'PAGE_SHIFT' undeclared here (not in a function)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Paul Gortmaker 14 年之前
父节点
当前提交
9e54d33fbf
共有 3 个文件被更改,包括 3 次插入0 次删除
  1. 1 0
      arch/arm/mach-bcmring/mm.c
  2. 1 0
      arch/arm/mach-sa1100/collie.c
  3. 1 0
      arch/arm/mach-sa1100/jornada720.c

+ 1 - 0
arch/arm/mach-bcmring/mm.c

@@ -14,6 +14,7 @@
 
 #include <linux/platform_device.h>
 #include <linux/dma-mapping.h>
+#include <asm/page.h>
 #include <asm/mach/map.h>
 
 #include <mach/hardware.h>

+ 1 - 0
arch/arm/mach-sa1100/collie.c

@@ -31,6 +31,7 @@
 #include <mach/hardware.h>
 #include <asm/mach-types.h>
 #include <asm/irq.h>
+#include <asm/page.h>
 #include <asm/setup.h>
 #include <mach/collie.h>
 

+ 1 - 0
arch/arm/mach-sa1100/jornada720.c

@@ -26,6 +26,7 @@
 #include <mach/hardware.h>
 #include <asm/hardware/sa1111.h>
 #include <asm/irq.h>
+#include <asm/page.h>
 #include <asm/mach-types.h>
 #include <asm/setup.h>
 #include <asm/mach/arch.h>