aboutsummaryrefslogtreecommitdiff
path: root/include/asm-sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-09-27 18:26:05 +0900
committerPaul Mundt <lethal@linux-sh.org>2006-09-27 18:26:05 +0900
commit9d549a7d8ef71f684a35cf1e438543957cf81d12 (patch)
tree0090b908ba5fe448c082b2e2da51d7136cb04e29 /include/asm-sh
parent05ae91585167410dadd1bc8f2e207a062e638a16 (diff)
sh: Update kexec support for API changes.
This was falling a bit behind.. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh')
-rw-r--r--include/asm-sh/kexec.h9
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 */