summaryrefslogtreecommitdiff
path: root/kexec/kexec.h
diff options
context:
space:
mode:
authorMohan Kumar M <mohan@in.ibm.com>2006-10-09 14:55:58 +0530
committerSimon Horman <horms@verge.net.au>2006-10-13 16:04:16 +0900
commit878e1322daaa34e1b33825642a33d0a027a5d373 (patch)
tree927638a98ca5dadd209479422861021d19cb9ca9 /kexec/kexec.h
parent13882ab8fd1261c378de648bbcc1ed21822a2121 (diff)
Check for crashkernel memory reservation
Check whether memory for crashkernel is reserved by calling arch dependent functions. The patch also creates dummy functions in ppc, ia64 and s390 architectures, so that the build process will not break. The function "is_crashkernel_mem_reserved" needs to be implemented on ppc, ia64 and s390 architectures. Signed-off-by: Mohan Kumar M <mohan@in.ibm.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec.h')
-rw-r--r--kexec/kexec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kexec/kexec.h b/kexec/kexec.h
index 1cee900..d6942bf 100644
--- a/kexec/kexec.h
+++ b/kexec/kexec.h
@@ -199,6 +199,7 @@ void arch_usage(void);
int arch_process_options(int argc, char **argv);
int arch_compat_trampoline(struct kexec_info *info);
void arch_update_purgatory(struct kexec_info *info);
+int is_crashkernel_mem_reserved(void);
#define MAX_LINE 160
#endif /* KEXEC_H */