sh: rework kexec segment code
authorMagnus Damm <damm@igel.co.jp>
Wed, 18 Mar 2009 08:49:45 +0000 (08:49 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 18 Mar 2009 09:44:32 +0000 (18:44 +0900)
commite4e063d0c288bd65c56dd855337780a541ed928d
tree88ac50d334c002a60861d92afc5a849b8e26b48f
parent7be5c55af0cc58e54e42e1702d837527e15b8414
sh: rework kexec segment code

Rework the kexec code to avoid using P2SEG. Instead
we walk the page list in machine_kexec() and convert
the addresses from physical to virtual using C.

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