From c72bfafbc94e61ea3ff3915c84aa7f9d91a045a0 Mon Sep 17 00:00:00 2001 From: Thomas Chou Date: Sat, 20 Mar 2010 07:05:47 +0800 Subject: [PATCH] nios2: add struct stat support in linux/stat.h This is needed for jffs2 support. Signed-off-by: Thomas Chou Signed-off-by: Scott McNutt --- include/linux/stat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/stat.h b/include/linux/stat.h index 2ce1c25ac..cef636959 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;