From: Daniel Hellstrom Date: Mon, 10 Nov 2008 12:46:20 +0000 (+0000) Subject: SPARC: Fixed compiler error introduced by commit c160a9544743 X-Git-Tag: v2009.01-rc1~37 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=af5eb847a10f1037590001355d88bab3fe7be48b;p=oweals%2Fu-boot.git SPARC: Fixed compiler error introduced by commit c160a9544743 This patch fixes a build error for the SPARC platform. It was introduced by commit c160a9544743e80e8889edb2275538e7764ce334. Signed-off-by: Daniel Hellstrom --- diff --git a/lib_sparc/bootm.c b/lib_sparc/bootm.c index 49757595f7..c62cf57d80 100644 --- a/lib_sparc/bootm.c +++ b/lib_sparc/bootm.c @@ -27,6 +27,7 @@ #include #include #include +#include #define PRINT_KERNEL_HEADER @@ -178,7 +179,7 @@ int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t * images) * From now on the only code in u-boot that will be * executed is the PROM code. */ - kernel(kernel_arg_promvec, (void *)ep); + kernel(kernel_arg_promvec, (void *)images->ep); /* It will never come to this... */ while (1) ;