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

Simon Glass sjg at chromium.org
Fri Oct 10 15:49:14 CEST 2014


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 at chromium.org>
---

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

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"
 	);
 }
 
-- 
2.1.0.rc2.206.gedb03e5



More information about the U-Boot mailing list