aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-s390
diff options
context:
space:
mode:
authorakpm@osdl.org <akpm@osdl.org>2006-01-09 23:51:45 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-10 11:01:27 -0500
commitbf2083050d7879390ddedbd64e431cf167854a34 (patch)
tree036c435ff4dc6b5fad694b9ccd92faacd92c08a2 /include/asm-s390
parentf05b690248bc928b85cc19ea85a5c6268bb3acaf (diff)
[PATCH] Kdump: powerpc and s390 build failure fix
) From: Vivek Goyal <vgoyal@in.ibm.com> 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 <vgoyal@in.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-s390')
-rw-r--r--include/asm-s390/kexec.h4
1 files changed, 4 insertions, 0 deletions
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. */
40static 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 */