summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/pseries-head.S
diff options
context:
space:
mode:
authorCédric Le Goater <clg@fr.ibm.com>2014-04-24 09:23:38 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-04-28 17:36:17 +1000
commit2d9afb369bc069f11a3a8696c4bdf95d4ddf1281 (patch)
tree4b673b16272bd0f4029ed03e3b9394b744a49526 /arch/powerpc/boot/pseries-head.S
parentf16e9684996188c12e1f460589003e99086ce36e (diff)
downloadlinux-stable-2d9afb369bc069f11a3a8696c4bdf95d4ddf1281.tar.gz
linux-stable-2d9afb369bc069f11a3a8696c4bdf95d4ddf1281.tar.bz2
linux-stable-2d9afb369bc069f11a3a8696c4bdf95d4ddf1281.zip
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>
Diffstat (limited to 'arch/powerpc/boot/pseries-head.S')
-rw-r--r--arch/powerpc/boot/pseries-head.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/boot/pseries-head.S b/arch/powerpc/boot/pseries-head.S
new file mode 100644
index 000000000000..655c3d2c321b
--- /dev/null
+++ b/arch/powerpc/boot/pseries-head.S
@@ -0,0 +1,5 @@
+ .text
+
+ .globl _zimage_start
+_zimage_start:
+ b _zimage_start_lib