projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b70fedc
)
x86, x32: Use __kernel_long_t for __statfs_word
author
H.J. Lu
<hjl.tools@gmail.com>
Tue, 17 Dec 2013 00:12:57 +0000
(16:12 -0800)
committer
H. Peter Anvin
<hpa@linux.intel.com>
Sat, 21 Dec 2013 00:06:21 +0000
(16:06 -0800)
x32 statfs system call is the same as x86-64 statfs system call, which
uses 64-bit integer for __statfs_word. This patch defines __statfs_word
as __kernel_long_t instead of long.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Link:
http://lkml.kernel.org/r/CAMe9rOrcppHvC5g8U9n7D%2BpxVGdu1G598pge3Erfw7Pr-iEpAQ@mail.gmail.com
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
include/uapi/asm-generic/statfs.h
patch
|
blob
|
history
diff --git
a/include/uapi/asm-generic/statfs.h
b/include/uapi/asm-generic/statfs.h
index
0999647
..
cb89cc7
100644
(file)
--- a/
include/uapi/asm-generic/statfs.h
+++ b/
include/uapi/asm-generic/statfs.h
@@
-13,7
+13,7
@@
*/
#ifndef __statfs_word
#if __BITS_PER_LONG == 64
-#define __statfs_word
long
+#define __statfs_word
__kernel_long_t
#else
#define __statfs_word __u32
#endif