From 9c284ffd93cda1e434eeece0d95698157d00fe18 Mon Sep 17 00:00:00 2001
From: Simon Glass <sjg@chromium.org>
Date: Fri, 10 Oct 2014 07:49:14 -0600
Subject: [PATCH] dm: x86: Remove ebp assembler warning in zimage.c

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(-)

diff --git a/arch/x86/lib/zimage.c b/arch/x86/lib/zimage.c
index 2f0e92f123a..b1902834e8a 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"
 	);
 }
 
-- 
GitLab