MIPS: kdump: Set correct value to kexec_indirection_page variable
authorYang Wei <Wei.Yang@windriver.com>
Thu, 31 Jul 2014 11:42:29 +0000 (19:42 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 25 Aug 2014 14:33:44 +0000 (16:33 +0200)
commit91ffaa27834b69dc23dfe14a0358f1c70d2938e2
tree7785fa535deb4b2541e30b7012ac97617e015b78
parent7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9
MIPS: kdump: Set correct value to kexec_indirection_page variable

Since there is not indirection page in crash type, so the vaule of the head
field of kimage structure is not equal to the address of indirection page but
IND_DONE. so we have to set kexec_indirection_page variable to the address of
the head field of image structure.

[ralf@linux-mips.org: Don't add pointless empty line, fix trailing
whitespace damage.]

Signed-off-by: Yang Wei <Wei.Yang@windriver.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/7499/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/machine_kexec.c