summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-10-23 18:04:40 +0000
committerSimon Glass <sjg@chromium.org>2012-12-06 14:30:40 -0800
commit1484311286c2a66ed2158c2db443e3cebbc187d0 (patch)
tree79302e5c3d4b5e0273dd15bfa949192f92d514c9
parent17de114f9f925eb740d813476fe486154fa8df91 (diff)
downloadu-boot-imx-1484311286c2a66ed2158c2db443e3cebbc187d0.zip
u-boot-imx-1484311286c2a66ed2158c2db443e3cebbc187d0.tar.gz
u-boot-imx-1484311286c2a66ed2158c2db443e3cebbc187d0.tar.bz2
x86: Fix indirect jmp warning in zimage.c
This fixes the following warning: zimage.c:312: Warning: indirect jmp without `*' Also fixed these warnings to keep checkpatch quiet: warning: arch/x86/lib/zimage.c,311: unnecessary whitespace before a quoted newline warning: arch/x86/lib/zimage.c,312: unnecessary whitespace before a quoted newline warning: arch/x86/lib/zimage.c,313: unnecessary whitespace before a quoted newline Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--arch/x86/lib/zimage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/lib/zimage.c b/arch/x86/lib/zimage.c
index 1236d22..46af391 100644
--- a/arch/x86/lib/zimage.c
+++ b/arch/x86/lib/zimage.c
@@ -309,9 +309,9 @@ void boot_zimage(void *setup_base, void *load_address)
* itself in arch/i386/cpu/cpu.c.
*/
__asm__ __volatile__ (
- "movl $0, %%ebp \n"
- "cli \n"
- "jmp %[kernel_entry] \n"
+ "movl $0, %%ebp\n"
+ "cli\n"
+ "jmp *%[kernel_entry]\n"
:: [kernel_entry]"a"(load_address),
[boot_params] "S"(setup_base),
"b"(0), "D"(0)