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>
This commit is contained in:
@ -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 */
|
||||
|
Reference in New Issue
Block a user