[PATCH] ARM: Make sure appended device tree data won't overlap kernel BSS

Tony Lindgren tony at atomide.com
Mon May 9 10:49:50 EDT 2011


* Tony Lindgren <tony at atomide.com> [110509 14:16]:
> Do this before relocating the compressed kernel + device tree data.
> Otherwise we would have to split the copying into two parts, or copy
> the device tree data twice.
> 
> As we only have one register available, pass the size of kernel BSS
> via linker and do the following calculation using r1.

Blah, this still needs a bit more work.. The calculation is wrong
and we can get multiple relocations now.

Tony



More information about the linux-arm-kernel mailing list