diff options
-rw-r--r-- | include/asm-powerpc/kexec.h | 6 | ||||
-rw-r--r-- | include/asm-s390/kexec.h | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-powerpc/kexec.h b/include/asm-powerpc/kexec.h index e363752276ef..fffdf690b840 100644 --- a/include/asm-powerpc/kexec.h +++ b/include/asm-powerpc/kexec.h | |||
@@ -55,6 +55,12 @@ extern void default_machine_crash_shutdown(struct pt_regs *regs); | |||
55 | 55 | ||
56 | #endif /* !CONFIG_KEXEC */ | 56 | #endif /* !CONFIG_KEXEC */ |
57 | 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) { } | ||
58 | #endif /* ! __ASSEMBLY__ */ | 64 | #endif /* ! __ASSEMBLY__ */ |
59 | #endif /* __KERNEL__ */ | 65 | #endif /* __KERNEL__ */ |
60 | #endif /* _ASM_POWERPC_KEXEC_H */ | 66 | #endif /* _ASM_POWERPC_KEXEC_H */ |
diff --git a/include/asm-s390/kexec.h b/include/asm-s390/kexec.h index b4809d98fe69..ce28ddda0f50 100644 --- a/include/asm-s390/kexec.h +++ b/include/asm-s390/kexec.h | |||
@@ -36,4 +36,8 @@ | |||
36 | 36 | ||
37 | #define MAX_NOTE_BYTES 1024 | 37 | #define MAX_NOTE_BYTES 1024 |
38 | 38 | ||
39 | /* Provide a dummy definition to avoid build failures. */ | ||
40 | static inline void crash_setup_regs(struct pt_regs *newregs, | ||
41 | struct pt_regs *oldregs) { } | ||
42 | |||
39 | #endif /*_S390_KEXEC_H */ | 43 | #endif /*_S390_KEXEC_H */ |