[U-Boot] [PATCH 4/4] nios2: add struct stat support in linux/stat.h

Scott McNutt smcnutt at psyent.com
Sat Mar 20 00:44:26 CET 2010


Applied.
Thank you,
--Scott

Thomas Chou wrote:
> This is needed for jffs2 support.
> 
> Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
> ---
>  include/linux/stat.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/include/linux/stat.h b/include/linux/stat.h
> index 2ce1c25..cef6369 100644
> --- a/include/linux/stat.h
> +++ b/include/linux/stat.h
> @@ -68,7 +68,7 @@ struct stat {
>  #endif	/* __PPC__ */
>  
>  #if defined (__ARM__) || defined (__I386__) || defined (__M68K__) || defined (__bfin__) ||\
> -	defined (__microblaze__)
> +	defined (__microblaze__) || defined (__nios2__)
>  
>  struct stat {
>  	unsigned short st_dev;


More information about the U-Boot mailing list