dm: x86: Remove ebp assembler warning in zimage.c
authorSimon Glass <sjg@chromium.org>
Fri, 10 Oct 2014 13:49:14 +0000 (07:49 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 24 Oct 2014 01:45:28 +0000 (19:45 -0600)
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

index 2f0e92f123a5acaa06a6c2f031cec72766d06099..b1902834e8a9514e5bdcce56b2bccbb03fdc7f7c 100644 (file)
@@ -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"
        );
 }