diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-11 08:08:12 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-11 08:08:12 -0400 |
commit | fd582ec88eb8d2d907876603e4ecebe6eab330d9 (patch) | |
tree | bafacc1916098001051b8235722daa6b9b52e63a /arch/ppc/kernel/asm-offsets.c | |
parent | 35d81a4bfe28a6ea81c9f67c9ce40543124ded0b (diff) |
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/kernel/asm-offsets.c')
-rw-r--r-- | arch/ppc/kernel/asm-offsets.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ppc/kernel/asm-offsets.c b/arch/ppc/kernel/asm-offsets.c index d9ad1d776d0e..7972db1f6570 100644 --- a/arch/ppc/kernel/asm-offsets.c +++ b/arch/ppc/kernel/asm-offsets.c | |||
@@ -141,6 +141,7 @@ main(void) | |||
141 | DEFINE(pbe_orig_address, offsetof(struct pbe, orig_address)); | 141 | DEFINE(pbe_orig_address, offsetof(struct pbe, orig_address)); |
142 | DEFINE(pbe_next, offsetof(struct pbe, next)); | 142 | DEFINE(pbe_next, offsetof(struct pbe, next)); |
143 | 143 | ||
144 | DEFINE(TASK_SIZE, TASK_SIZE); | ||
144 | DEFINE(NUM_USER_SEGMENTS, TASK_SIZE>>28); | 145 | DEFINE(NUM_USER_SEGMENTS, TASK_SIZE>>28); |
145 | return 0; | 146 | return 0; |
146 | } | 147 | } |