浏览代码

powerpc: Make some #includes explicit.

In preparation for merging processor.h, this adds some explicit
but won't be after the merge.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Paul Mackerras 19 年之前
父节点
当前提交
b60fc8bbd2
共有 5 个文件被更改,包括 5 次插入0 次删除
  1. 1 0
      arch/ppc/kernel/irq.c
  2. 1 0
      arch/ppc/kernel/pci.c
  3. 1 0
      arch/ppc/kernel/smp.c
  4. 1 0
      arch/ppc64/kernel/rtas.c
  5. 1 0
      arch/ppc64/kernel/vdso64/sigtramp.S

+ 1 - 0
arch/ppc/kernel/irq.c

@@ -57,6 +57,7 @@
 #include <asm/cache.h>
 #include <asm/prom.h>
 #include <asm/ptrace.h>
+#include <asm/machdep.h>
 
 #define NR_MASK_WORDS	((NR_IRQS + 31) / 32)
 

+ 1 - 0
arch/ppc/kernel/pci.c

@@ -21,6 +21,7 @@
 #include <asm/byteorder.h>
 #include <asm/irq.h>
 #include <asm/uaccess.h>
+#include <asm/machdep.h>
 
 #undef DEBUG
 

+ 1 - 0
arch/ppc/kernel/smp.c

@@ -34,6 +34,7 @@
 #include <asm/thread_info.h>
 #include <asm/tlbflush.h>
 #include <asm/xmon.h>
+#include <asm/machdep.h>
 
 volatile int smp_commenced;
 int smp_tb_synchronized;

+ 1 - 0
arch/ppc64/kernel/rtas.c

@@ -30,6 +30,7 @@
 #include <asm/delay.h>
 #include <asm/uaccess.h>
 #include <asm/systemcfg.h>
+#include <asm/ppcdebug.h>
 
 struct flash_block_list_header rtas_firmware_flash_list = {0, NULL};
 

+ 1 - 0
arch/ppc64/kernel/vdso64/sigtramp.S

@@ -15,6 +15,7 @@
 #include <asm/ppc_asm.h>
 #include <asm/unistd.h>
 #include <asm/vdso.h>
+#include <asm/ptrace.h>		/* XXX for __SIGNAL_FRAMESIZE */
 
 	.text