summaryrefslogtreecommitdiff
path: root/arch/ppc/platforms/pal4_setup.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-11 16:08:12 +0400
committerPaul Mackerras <paulus@samba.org>2005-10-11 16:08:12 +0400
commitfd582ec88eb8d2d907876603e4ecebe6eab330d9 (patch)
treebafacc1916098001051b8235722daa6b9b52e63a /arch/ppc/platforms/pal4_setup.c
parent35d81a4bfe28a6ea81c9f67c9ce40543124ded0b (diff)
downloadlinux-fd582ec88eb8d2d907876603e4ecebe6eab330d9.tar.xz
ppc: Various minor compile fixes
This fixes up a variety of minor problems in compiling with ARCH=ppc arising from using the merged versions of various header files. A lot of the changes are just adding #include <asm/machdep.h> to files that use ppc_md or smp_ops_t. This also arranges for us to use semaphore.c, vecemu.c, vector.S and fpu.S from arch/powerpc/kernel when compiling with ARCH=ppc. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc/platforms/pal4_setup.c')
-rw-r--r--arch/ppc/platforms/pal4_setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ppc/platforms/pal4_setup.c b/arch/ppc/platforms/pal4_setup.c
index 12446b93e38c..f93a3f871932 100644
--- a/arch/ppc/platforms/pal4_setup.c
+++ b/arch/ppc/platforms/pal4_setup.c
@@ -28,6 +28,7 @@
#include <asm/io.h>
#include <asm/todc.h>
#include <asm/bootinfo.h>
+#include <asm/machdep.h>
#include <syslib/cpc700.h>