diff options
author | Magnus Damm <magnus@valinux.co.jp> | 2007-03-15 17:56:46 +0900 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2007-03-16 11:22:26 +0900 |
commit | 5d6f808c6468082b20f899114ef023fdaeb44615 (patch) | |
tree | 07ad2bd206d1867ea48f73cd8ca379f70db0a7fe | |
parent | d6c231c6f341d839fbfb09ea0814dd9a5ccdb005 (diff) |
Kdump is not supported on ppc, s390, sh
Kdump is not supported on ppc, s390, sh
So let's return that no crash kernel memory is found.
Signed-off-by: Magnus Damm <magnus@valinux.co.jp>
Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r-- | kexec/arch/ppc/kexec-ppc.c | 6 | ||||
-rw-r--r-- | kexec/arch/s390/kexec-s390.c | 6 | ||||
-rw-r--r-- | kexec/arch/sh/kexec-sh.c | 5 |
3 files changed, 3 insertions, 14 deletions
diff --git a/kexec/arch/ppc/kexec-ppc.c b/kexec/arch/ppc/kexec-ppc.c index fe8a5a4..e446674 100644 --- a/kexec/arch/ppc/kexec-ppc.c +++ b/kexec/arch/ppc/kexec-ppc.c @@ -144,11 +144,7 @@ void arch_update_purgatory(struct kexec_info *info) { } -/* - * Adding a dummy function, so that build on PPC will not break. - * Need to implement the actual checking code - */ int is_crashkernel_mem_reserved(void) { - return 1; + return 0; /* kdump is not supported on this platform (yet) */ } diff --git a/kexec/arch/s390/kexec-s390.c b/kexec/arch/s390/kexec-s390.c index a7ef71c..1a1af5d 100644 --- a/kexec/arch/s390/kexec-s390.c +++ b/kexec/arch/s390/kexec-s390.c @@ -104,11 +104,7 @@ void arch_update_purgatory(struct kexec_info *info) { } -/* - * Adding a dummy function, so that build on s390 will not break. - * Need to implement the actual checking code - */ int is_crashkernel_mem_reserved(void) { - return 1; + return 0; /* kdump is not supported on this platform (yet) */ } diff --git a/kexec/arch/sh/kexec-sh.c b/kexec/arch/sh/kexec-sh.c index 491ade1..07a88e8 100644 --- a/kexec/arch/sh/kexec-sh.c +++ b/kexec/arch/sh/kexec-sh.c @@ -170,9 +170,6 @@ char *get_append(void) int is_crashkernel_mem_reserved(void) { - uint64_t start, end; - - return parse_iomem_single("Crash kernel\n", &start, &end) == 0 ? - (start != end) : 0; + return 0; /* kdump is not supported on this platform (yet) */ } |