summaryrefslogtreecommitdiff
path: root/arch
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 /arch
parentdcc62b6b38334075271eaffb1dc42cd47ceb5692 (diff)
downloadlinux-3.10-e57f93cc53b772b2049222410cf6a141a724529a.tar.gz
linux-3.10-e57f93cc53b772b2049222410cf6a141a724529a.tar.bz2
linux-3.10-e57f93cc53b772b2049222410cf6a141a724529a.zip
powerpc: get rid of nlink_t uses, switch to explicitly-sized type
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch')
-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 e4edc510b53..10cfb558e0f 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;