diff options
Diffstat (limited to 'include/asm-sh/kexec.h')
-rw-r--r-- | include/asm-sh/kexec.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/asm-sh/kexec.h b/include/asm-sh/kexec.h index 9dfe59f6fcb5..9d235af20cdd 100644 --- a/include/asm-sh/kexec.h +++ b/include/asm-sh/kexec.h | |||
@@ -23,11 +23,10 @@ | |||
23 | /* The native architecture */ | 23 | /* The native architecture */ |
24 | #define KEXEC_ARCH KEXEC_ARCH_SH | 24 | #define KEXEC_ARCH KEXEC_ARCH_SH |
25 | 25 | ||
26 | #ifndef __ASSEMBLY__ | 26 | #define MAX_NOTE_BYTES 1024 |
27 | 27 | ||
28 | extern void machine_shutdown(void); | 28 | /* Provide a dummy definition to avoid build failures. */ |
29 | extern void *crash_notes; | 29 | static inline void crash_setup_regs(struct pt_regs *newregs, |
30 | 30 | struct pt_regs *oldregs) { } | |
31 | #endif /* __ASSEMBLY__ */ | ||
32 | 31 | ||
33 | #endif /* _SH_KEXEC_H */ | 32 | #endif /* _SH_KEXEC_H */ |