projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcc62b6
)
powerpc: get rid of nlink_t uses, switch to explicitly-sized type
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 19 May 2012 14:16:30 +0000
(10:16 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 31 May 2012 01:04:35 +0000
(21:04 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/powerpc/include/asm/stat.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/include/asm/stat.h
b/arch/powerpc/include/asm/stat.h
index
e4edc51
..
10cfb55
100644
(file)
--- 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;