On Saturday, September 17, 2011 12:48:42 Simon Glass wrote:
> Temporary fix for 64-bit building.

why is it temporary ?  why not fix it permanently ?

> --- a/include/compiler.h
> +++ b/include/compiler.h
>
>  #include <linux/types.h>
>  #include <asm/byteorder.h>
> 
> +#if __SIZEOF_LONG__ == 8
> +# define __WORDSIZE  64
> +#elif __SIZEOF_LONG__ == 4
> +# define __WORDSIZE  32
> +#else
> +#error "__SIZEOF_LONG__ has unexpected value"
> +#endif

change "#else" to "#elif !defined __WORDSIZE"
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to