summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-10 04:14:55 (GMT)
committerPaul Mackerras <paulus@samba.org>2005-10-10 04:14:55 (GMT)
commitb60fc8bbd2d0ea2a9b1fc7271d521fcf47f27bfd (patch)
treebd3fb544fc6ea9484fddb6ba6e05f1027b8b0c63
parentb5bbeb23732196558222a2827092f5b7be8a7945 (diff)
downloadlinux-b60fc8bbd2d0ea2a9b1fc7271d521fcf47f27bfd.tar.xz
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>
-rw-r--r--arch/ppc/kernel/irq.c1
-rw-r--r--arch/ppc/kernel/pci.c1
-rw-r--r--arch/ppc/kernel/smp.c1
-rw-r--r--arch/ppc64/kernel/rtas.c1
-rw-r--r--arch/ppc64/kernel/vdso64/sigtramp.S1
5 files changed, 5 insertions, 0 deletions
diff --git a/arch/ppc/kernel/irq.c b/arch/ppc/kernel/irq.c
index 8843f3a..772e428 100644
--- a/arch/ppc/kernel/irq.c
+++ b/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)
diff --git a/arch/ppc/kernel/pci.c b/arch/ppc/kernel/pci.c
index b5cf52f..6600fd4 100644
--- a/arch/ppc/kernel/pci.c
+++ b/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
diff --git a/arch/ppc/kernel/smp.c b/arch/ppc/kernel/smp.c
index a8cc96b..801c793 100644
--- a/arch/ppc/kernel/smp.c
+++ b/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;
diff --git a/arch/ppc64/kernel/rtas.c b/arch/ppc64/kernel/rtas.c
index 5e8eb33..36adab5 100644
--- a/arch/ppc64/kernel/rtas.c
+++ b/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};
diff --git a/arch/ppc64/kernel/vdso64/sigtramp.S b/arch/ppc64/kernel/vdso64/sigtramp.S
index 8ae8f20..31b604a 100644
--- a/arch/ppc64/kernel/vdso64/sigtramp.S
+++ b/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