浏览代码

nios2: add struct stat support in linux/stat.h

This is needed for jffs2 support.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
Thomas Chou 15 年之前
父节点
当前提交
c72bfafbc9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/linux/stat.h

+ 1 - 1
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;