On Jun 29, 2010, at 2:42 PM, Matthew McClintock wrote: > When booting a relocatable kernel it needs to jump to the correct > start address, which for BookE parts is usually unchanged > regardless of the physical memory offset. > > Recent changes cause problems with how we calculate the start > address, it was always adding the RMO into the start address > which is incorrect. This patch only adds in the RMO offset > if we are in the kexec code path, as it needs the RMO to work > correctly. > > Instead of adding the RMO offset in in the common code path, we > can just set r6 to the RMO offset in the kexec code path instead > of to zero, and finally perform the masking in the common code > path > > Signed-off-by: Matthew McClintock <m...@freescale.com> > --- > arch/powerpc/kernel/fsl_booke_entry_mapping.S | 4 +--- > 1 files changed, 1 insertions(+), 3 deletions(-)
applied to merge - k _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev