aboutsummaryrefslogtreecommitdiff
path: root/arch/ppc
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-10 14:14:55 +1000
committerPaul Mackerras <paulus@samba.org>2005-10-10 14:14:55 +1000
commitb60fc8bbd2d0ea2a9b1fc7271d521fcf47f27bfd (patch)
treebd3fb544fc6ea9484fddb6ba6e05f1027b8b0c63 /arch/ppc
parentb5bbeb23732196558222a2827092f5b7be8a7945 (diff)
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>
Diffstat (limited to 'arch/ppc')
-rw-r--r--arch/ppc/kernel/irq.c1
-rw-r--r--arch/ppc/kernel/pci.c1
-rw-r--r--arch/ppc/kernel/smp.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/arch/ppc/kernel/irq.c b/arch/ppc/kernel/irq.c
index 8843f3af230..772e428aaa5 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 b5cf52f5909..6600fd485b5 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 a8cc96b0d33..801c793fdec 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;