diff mbox

[U-Boot,2/8] dm: x86: Remove ebp assembler warning in zimage.c

Message ID 1412948960-11941-3-git-send-email-sjg@chromium.org
State Accepted
Delegated to: Simon Glass
Headers show

Commit Message

Simon Glass Oct. 10, 2014, 1:49 p.m. UTC
This code generates warnings with recent gcc versions. We really don't need
the clobber specification, so just drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 arch/x86/lib/zimage.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Simon Glass Oct. 24, 2014, 3:53 a.m. UTC | #1
On 10 October 2014 07:49, Simon Glass <sjg@chromium.org> wrote:
> This code generates warnings with recent gcc versions. We really don't need
> the clobber specification, so just drop it.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  arch/x86/lib/zimage.c | 1 -
>  1 file changed, 1 deletion(-)

Applied to u-boot-dm/master
diff mbox

Patch

diff --git a/arch/x86/lib/zimage.c b/arch/x86/lib/zimage.c
index 2f0e92f..b190283 100644
--- a/arch/x86/lib/zimage.c
+++ b/arch/x86/lib/zimage.c
@@ -282,7 +282,6 @@  void boot_zimage(void *setup_base, void *load_address)
 	:: [kernel_entry]"a"(load_address),
 	   [boot_params] "S"(setup_base),
 	   "b"(0), "D"(0)
-	:  "%ebp"
 	);
 }