[PATCH] kexec jump: use add_segment_phys_virt()

Simon Horman horms at verge.net.au
Wed Mar 18 04:44:06 EDT 2009


On Wed, Mar 18, 2009 at 03:07:01PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm at igel.co.jp>
> 
> Since /proc/iomem contains physical addresses, use
> add_segment_phys_virt(xxx, 0) instead of add_segment()
> in add_backup_segments().
> 
> This fix is needed for kexec jump on SuperH where
> add_segment() only takes virtual addresses.

Thanks, applied.

-- 
Simon Horman
  VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
  H: www.vergenet.net/~horms/             W: www.valinux.co.jp/en




More information about the kexec mailing list