diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-sh/kexec.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/asm-sh/kexec.h b/include/asm-sh/kexec.h index a5f85e9e428..9d235af20cd 100644 --- a/include/asm-sh/kexec.h +++ b/include/asm-sh/kexec.h @@ -25,11 +25,8 @@ #define MAX_NOTE_BYTES 1024 -#ifndef __ASSEMBLY__ - -extern void machine_shutdown(void); -extern void *crash_notes; - -#endif /* __ASSEMBLY__ */ +/* Provide a dummy definition to avoid build failures. */ +static inline void crash_setup_regs(struct pt_regs *newregs, + struct pt_regs *oldregs) { } #endif /* _SH_KEXEC_H */ |