diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2006-07-05 06:39:43 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-08-17 08:41:10 +0200 |
commit | b6f35b4966e0ae59cec45e5292b100698d12dc5f (patch) | |
tree | 5ff3b2832c1c3eebbef699df710068ab106ab2db /include/asm-powerpc | |
parent | [POWERPC] Move some kexec logic into machine_kexec.c (diff) | |
download | linux-b6f35b4966e0ae59cec45e5292b100698d12dc5f.tar.xz linux-b6f35b4966e0ae59cec45e5292b100698d12dc5f.zip |
[POWERPC] Make crash.c work on 32-bit and 64-bit
To compile kexec on 32-bit we need a few more bits and pieces. Rather
than add empty definitions, we can make crash.c work on 32-bit, with
only a couple of kludges.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to '')
-rw-r--r-- | include/asm-powerpc/kexec.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/asm-powerpc/kexec.h b/include/asm-powerpc/kexec.h index 8f7fd5cfec34..11cbdf81fd2e 100644 --- a/include/asm-powerpc/kexec.h +++ b/include/asm-powerpc/kexec.h @@ -32,6 +32,7 @@ #endif #ifndef __ASSEMBLY__ +#include <linux/cpumask.h> #ifdef CONFIG_KEXEC @@ -109,7 +110,6 @@ static inline void crash_setup_regs(struct pt_regs *newregs, #define MAX_NOTE_BYTES 1024 -#ifdef __powerpc64__ extern void kexec_smp_wait(void); /* get and clear naca physid, wait for master to copy new code to 0 */ extern int crashing_cpu; @@ -119,7 +119,6 @@ static inline int kexec_sr_activated(int cpu) { return cpu_isset(cpu,cpus_in_sr); } -#endif /* __powerpc64 __ */ struct kimage; struct pt_regs; |