aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/asm-offsets.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-11 08:08:12 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-11 08:08:12 -0400
commitfd582ec88eb8d2d907876603e4ecebe6eab330d9 (patch)
treebafacc1916098001051b8235722daa6b9b52e63a /arch/powerpc/kernel/asm-offsets.c
parent35d81a4bfe28a6ea81c9f67c9ce40543124ded0b (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/powerpc/kernel/asm-offsets.c')
-rw-r--r--arch/powerpc/kernel/asm-offsets.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/asm-offsets.c b/arch/powerpc/kernel/asm-offsets.c
index ddf0c81e1958..b0d6a7cd85e9 100644
--- a/arch/powerpc/kernel/asm-offsets.c
+++ b/arch/powerpc/kernel/asm-offsets.c
@@ -252,6 +252,7 @@ int main(void)
252 DEFINE(pbe_orig_address, offsetof(struct pbe, orig_address)); 252 DEFINE(pbe_orig_address, offsetof(struct pbe, orig_address));
253 DEFINE(pbe_next, offsetof(struct pbe, next)); 253 DEFINE(pbe_next, offsetof(struct pbe, next));
254 254
255 DEFINE(TASK_SIZE, TASK_SIZE);
255 DEFINE(NUM_USER_SEGMENTS, TASK_SIZE>>28); 256 DEFINE(NUM_USER_SEGMENTS, TASK_SIZE>>28);
256#else /* CONFIG_PPC64 */ 257#else /* CONFIG_PPC64 */
257 /* systemcfg offsets for use by vdso */ 258 /* systemcfg offsets for use by vdso */