diff options
author | Prem Mallappa <prem.mallappa@gmail.com> | 2013-09-04 17:56:24 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-09-05 18:53:43 (GMT) |
commit | c2882b7fab9251309dc10c980b17e486f848502f (patch) | |
tree | 30c1b22534557e7351720ed8f0caeb1c2be180fc /lib/decompress_bunzip2.c | |
parent | 273463b78237b53936a61046bfb4c8e55150ca24 (diff) | |
download | linux-fsl-qoriq-c2882b7fab9251309dc10c980b17e486f848502f.tar.xz |
MIPS: kexec: Fix random crashes while loading crashkernel
Fixed compilation errors in case of non-KEXEC kernel
Rearranging code so that crashk_res gets updated.
- crashk_res is updated after mips_parse_crashkernel(),
after resource_init(), which is after arch_mem_init().
- The reserved memory is actually treated as Usable memory,
Unless we load the crash kernel, everything works.
Signed-off-by: Prem Mallappa <pmallappa@caviumnetworks.com>
Cc: linux-mips <linux-mips@linux-mips.org>
Patchwork: http://patchwork.linux-mips.org/patch/5805/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'lib/decompress_bunzip2.c')
0 files changed, 0 insertions, 0 deletions