]> git.sur5r.net Git - u-boot/commitdiff
nios2: add struct stat support in linux/stat.h
authorThomas Chou <thomas@wytron.com.tw>
Fri, 19 Mar 2010 23:05:47 +0000 (07:05 +0800)
committerScott McNutt <smcnutt@psyent.com>
Fri, 2 Apr 2010 16:28:40 +0000 (12:28 -0400)
This is needed for jffs2 support.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
include/linux/stat.h

index 2ce1c25ac309b79328a82053d4fb3477f51ad2a8..cef636959e3ef1b462a6263745b06f288c92eac6 100644 (file)
@@ -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;