mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 08:57:58 +00:00
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>
This commit is contained in:
parent
17de114f9f
commit
1484311286
1 changed files with 3 additions and 3 deletions
|
@ -309,9 +309,9 @@ void boot_zimage(void *setup_base, void *load_address)
|
||||||
* itself in arch/i386/cpu/cpu.c.
|
* itself in arch/i386/cpu/cpu.c.
|
||||||
*/
|
*/
|
||||||
__asm__ __volatile__ (
|
__asm__ __volatile__ (
|
||||||
"movl $0, %%ebp \n"
|
"movl $0, %%ebp\n"
|
||||||
"cli \n"
|
"cli\n"
|
||||||
"jmp %[kernel_entry] \n"
|
"jmp *%[kernel_entry]\n"
|
||||||
:: [kernel_entry]"a"(load_address),
|
:: [kernel_entry]"a"(load_address),
|
||||||
[boot_params] "S"(setup_base),
|
[boot_params] "S"(setup_base),
|
||||||
"b"(0), "D"(0)
|
"b"(0), "D"(0)
|
||||||
|
|
Loading…
Reference in a new issue