mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[PATCH] Kdump: powerpc and s390 build failure fix
) From: Vivek Goyal <[email protected]> crash_setup_regs() is an architecture dependent function which is called in architecture independent section. So every architecture supporting kexec should at least provide a dummy definition of crash_setup_regs() even if crash dumping is not implemented yet, to avoid build failures. Signed-off-by: Vivek Goyal <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
f05b690248
commit
bf2083050d
2 changed files with 10 additions and 0 deletions
|
|
@ -36,4 +36,8 @@
|
|||
|
||||
#define MAX_NOTE_BYTES 1024
|
||||
|
||||
/* Provide a dummy definition to avoid build failures. */
|
||||
static inline void crash_setup_regs(struct pt_regs *newregs,
|
||||
struct pt_regs *oldregs) { }
|
||||
|
||||
#endif /*_S390_KEXEC_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue