SPARC: Fixed compiler error introduced by commit c160a95447

This patch fixes a build error for the SPARC platform. It was
introduced by commit c160a95447.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
This commit is contained in:
Daniel Hellstrom 2008-11-10 12:46:20 +00:00 committed by Wolfgang Denk
parent 4c60259899
commit af5eb847a1

View File

@ -27,6 +27,7 @@
#include <asm/byteorder.h>
#include <asm/prom.h>
#include <asm/cache.h>
#include <image.h>
#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) ;