diff options
Diffstat (limited to 'include/asm-powerpc/kexec.h')
-rw-r--r-- | include/asm-powerpc/kexec.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/asm-powerpc/kexec.h b/include/asm-powerpc/kexec.h index 4263af3cadfd..fffdf690b840 100644 --- a/include/asm-powerpc/kexec.h +++ b/include/asm-powerpc/kexec.h | |||
@@ -38,9 +38,6 @@ | |||
38 | #ifdef CONFIG_KEXEC | 38 | #ifdef CONFIG_KEXEC |
39 | 39 | ||
40 | #define MAX_NOTE_BYTES 1024 | 40 | #define MAX_NOTE_BYTES 1024 |
41 | typedef u32 note_buf_t[MAX_NOTE_BYTES / sizeof(u32)]; | ||
42 | |||
43 | extern note_buf_t crash_notes[]; | ||
44 | 41 | ||
45 | #ifdef __powerpc64__ | 42 | #ifdef __powerpc64__ |
46 | extern void kexec_smp_wait(void); /* get and clear naca physid, wait for | 43 | extern void kexec_smp_wait(void); /* get and clear naca physid, wait for |
@@ -58,6 +55,12 @@ extern void default_machine_crash_shutdown(struct pt_regs *regs); | |||
58 | 55 | ||
59 | #endif /* !CONFIG_KEXEC */ | 56 | #endif /* !CONFIG_KEXEC */ |
60 | 57 | ||
58 | /* | ||
59 | * Provide a dummy definition to avoid build failures. Will remain | ||
60 | * empty till crash dump support is enabled. | ||
61 | */ | ||
62 | static inline void crash_setup_regs(struct pt_regs *newregs, | ||
63 | struct pt_regs *oldregs) { } | ||
61 | #endif /* ! __ASSEMBLY__ */ | 64 | #endif /* ! __ASSEMBLY__ */ |
62 | #endif /* __KERNEL__ */ | 65 | #endif /* __KERNEL__ */ |
63 | #endif /* _ASM_POWERPC_KEXEC_H */ | 66 | #endif /* _ASM_POWERPC_KEXEC_H */ |