summaryrefslogtreecommitdiff
path: root/arch/ppc/syslib/xilinx_pic.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-11 12:08:12 (GMT)
committerPaul Mackerras <paulus@samba.org>2005-10-11 12:08:12 (GMT)
commitfd582ec88eb8d2d907876603e4ecebe6eab330d9 (patch)
treebafacc1916098001051b8235722daa6b9b52e63a /arch/ppc/syslib/xilinx_pic.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/syslib/xilinx_pic.c')
-rw-r--r--arch/ppc/syslib/xilinx_pic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ppc/syslib/xilinx_pic.c b/arch/ppc/syslib/xilinx_pic.c
index 2cbcad2..47f04c7 100644
--- a/arch/ppc/syslib/xilinx_pic.c
+++ b/arch/ppc/syslib/xilinx_pic.c
@@ -17,6 +17,7 @@
#include <asm/io.h>
#include <asm/xparameters.h>
#include <asm/ibm4xx.h>
+#include <asm/machdep.h>
/* No one else should require these constants, so define them locally here. */
#define ISR 0 /* Interrupt Status Register */