diff options
Diffstat (limited to 'include/asm-sh/kexec.h')
-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 a5f85e9e428d..9d235af20cdd 100644 --- a/include/asm-sh/kexec.h +++ b/include/asm-sh/kexec.h | |||
@@ -25,11 +25,8 @@ | |||
25 | 25 | ||
26 | #define MAX_NOTE_BYTES 1024 | 26 | #define MAX_NOTE_BYTES 1024 |
27 | 27 | ||
28 | #ifndef __ASSEMBLY__ | 28 | /* Provide a dummy definition to avoid build failures. */ |
29 | 29 | static inline void crash_setup_regs(struct pt_regs *newregs, | |
30 | extern void machine_shutdown(void); | 30 | struct pt_regs *oldregs) { } |
31 | extern void *crash_notes; | ||
32 | |||
33 | #endif /* __ASSEMBLY__ */ | ||
34 | 31 | ||
35 | #endif /* _SH_KEXEC_H */ | 32 | #endif /* _SH_KEXEC_H */ |