diff options
author | Cédric Le Goater <clg@fr.ibm.com> | 2014-04-24 03:23:38 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-04-28 03:36:17 -0400 |
commit | 2d9afb369bc069f11a3a8696c4bdf95d4ddf1281 (patch) | |
tree | 4b673b16272bd0f4029ed03e3b9394b744a49526 /arch/powerpc/boot/pseries-head.S | |
parent | f16e9684996188c12e1f460589003e99086ce36e (diff) |
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.S | 5 |
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 @@ | |||
1 | .text | ||
2 | |||
3 | .globl _zimage_start | ||
4 | _zimage_start: | ||
5 | b _zimage_start_lib | ||