summaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-05-19 10:17:45 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-05-30 21:04:50 -0400
commit1dfb5751a4de7c6a57a5602e8e2b87267cfc8c81 (patch)
treef26790f982a6cb8bae8cc8e010ac7ec4b1f81b08 /arch/parisc
parente57f93cc53b772b2049222410cf6a141a724529a (diff)
downloadop-kernel-dev-1dfb5751a4de7c6a57a5602e8e2b87267cfc8c81.zip
op-kernel-dev-1dfb5751a4de7c6a57a5602e8e2b87267cfc8c81.tar.gz
parisc: get rid of nlink_t, switch to explicitly-sized type
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/include/asm/stat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/include/asm/stat.h b/arch/parisc/include/asm/stat.h
index 9d5fbbc..d76fbda 100644
--- a/arch/parisc/include/asm/stat.h
+++ b/arch/parisc/include/asm/stat.h
@@ -7,7 +7,7 @@ struct stat {
unsigned int st_dev; /* dev_t is 32 bits on parisc */
ino_t st_ino; /* 32 bits */
mode_t st_mode; /* 16 bits */
- nlink_t st_nlink; /* 16 bits */
+ unsigned short st_nlink; /* 16 bits */
unsigned short st_reserved1; /* old st_uid */
unsigned short st_reserved2; /* old st_gid */
unsigned int st_rdev;
@@ -42,7 +42,7 @@ struct hpux_stat64 {
unsigned int st_dev; /* dev_t is 32 bits on parisc */
ino_t st_ino; /* 32 bits */
mode_t st_mode; /* 16 bits */
- nlink_t st_nlink; /* 16 bits */
+ unsigned short st_nlink; /* 16 bits */
unsigned short st_reserved1; /* old st_uid */
unsigned short st_reserved2; /* old st_gid */
unsigned int st_rdev;
OpenPOWER on IntegriCloud