powerpc/boot: Add a global entry point for pseries
When entering the boot wrapper in little endian, we will need to fix the endian order using a fixup trampoline like in the kernel. This patch overrides the _zimage_start entry point for this purpose. Signed-off-by: Cédric Le Goater <clg@fr.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:

committed by
Benjamin Herrenschmidt

parent
f16e968499
commit
2d9afb369b
5
arch/powerpc/boot/pseries-head.S
Normal file
5
arch/powerpc/boot/pseries-head.S
Normal file
@@ -0,0 +1,5 @@
|
||||
.text
|
||||
|
||||
.globl _zimage_start
|
||||
_zimage_start:
|
||||
b _zimage_start_lib
|
Reference in New Issue
Block a user