]> git.baikalelectronics.ru Git - kernel.git/commit
sh: fix kexec entry point for crash kernels
authorMagnus Damm <damm@igel.co.jp>
Wed, 27 Aug 2008 09:19:01 +0000 (18:19 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 28 Aug 2008 05:53:03 +0000 (14:53 +0900)
commit5b997487bdf6bd90758aab0d5b473a181d534428
tree446469c18abb16f14d7ee54bdc2fbe76fc1c9aaa
parentbe8afcadd00a6caf035e5c1139684e38a102f000
sh: fix kexec entry point for crash kernels

The crash kernel entry point is currently checked by the kexec kernel
code and only physical addresses in the reserved memory window are
accepted. This means that we can't pass P2 or P1 addresses as entry
points in the case of crash kernels. This patch makes sure we can start
crash kernels by adding support for physical address entry points.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/machine_kexec.c