From c2882b7fab9251309dc10c980b17e486f848502f Mon Sep 17 00:00:00 2001 From: Prem Mallappa Date: Wed, 4 Sep 2013 23:26:24 +0530 Subject: [PATCH] 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 Cc: linux-mips Patchwork: http://patchwork.linux-mips.org/patch/5805/ Signed-off-by: Ralf Baechle --- Reading git-format-patch failed