summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-05-19 10:16:30 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-05-30 21:04:35 -0400
commite57f93cc53b772b2049222410cf6a141a724529a (patch)
tree85d3fc1bc27cc4b23034ea3fffa0cc1f4c08fd81
parentdcc62b6b38334075271eaffb1dc42cd47ceb5692 (diff)
downloadop-kernel-dev-e57f93cc53b772b2049222410cf6a141a724529a.zip
op-kernel-dev-e57f93cc53b772b2049222410cf6a141a724529a.tar.gz
powerpc: get rid of nlink_t uses, switch to explicitly-sized type
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--arch/powerpc/include/asm/stat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/stat.h b/arch/powerpc/include/asm/stat.h
index e4edc51..10cfb55 100644
--- a/arch/powerpc/include/asm/stat.h
+++ b/arch/powerpc/include/asm/stat.h
@@ -30,11 +30,11 @@ struct stat {
unsigned long st_dev;
ino_t st_ino;
#ifdef __powerpc64__
- nlink_t st_nlink;
+ unsigned short st_nlink;
mode_t st_mode;
#else
mode_t st_mode;
- nlink_t st_nlink;
+ unsigned short st_nlink;
#endif
uid_t st_uid;
gid_t st_gid;
OpenPOWER on IntegriCloud