sh: use physical address for zImage entry
Subsystems (2)
PATCH 1/1 sh: use physical address for zImage entry
From: Magnus Damm <[email protected]>
Use a physical address for the SuperH zImage entry point. This makes the zImage loader behave as the elf loader.
Signed-off-by Magnus Damm <[email protected]>
---
kexec/arch/sh/kexec-zImage-sh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kexec/arch/sh/kexec-zImage-sh.c +1 -1
@@ -140,6 +140,6 @@ int zImage_sh_load(int argc, char **argv image_base = (empty_zero + (0x10000 -1 )) & ~(0x10000 -1 );add_segment (info, buf, len, image_base, len); - info->entry = (void *)image_base; + info->entry = (void *)virt_to_phys (image_base);return 0 ; }
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Simon Horman
AppliedQuoted 6 lines · Magnus Damm
From: Magnus Damm <[email protected]>
Use a physical address for the SuperH zImage entry point. This makes the zImage loader behave as the elf loader.
Signed-off-by Magnus Damm <[email protected]>
Thanks, applied.
Signature · 9 lines
Simon Horman VA Linux Systems Japan K.K., Sydney, Australia Satellite Office H: www.vergenet.net/~horms/ W: www.valinux.co.jp/en _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec