diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2013-12-16 19:12:57 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-12-20 19:06:21 -0500 |
commit | 79dbbc60493f357912d5f1da5a23147ba0c01c7a (patch) | |
tree | 05aa193e7538497971948c182fde5f335b6be89c | |
parent | b70fedc15892de8bc78f711d7821dd0916cc5508 (diff) |
x86, x32: Use __kernel_long_t for __statfs_word
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>
-rw-r--r-- | include/uapi/asm-generic/statfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/asm-generic/statfs.h b/include/uapi/asm-generic/statfs.h index 0999647fca13..cb89cc730f0b 100644 --- a/include/uapi/asm-generic/statfs.h +++ b/include/uapi/asm-generic/statfs.h | |||
@@ -13,7 +13,7 @@ | |||
13 | */ | 13 | */ |
14 | #ifndef __statfs_word | 14 | #ifndef __statfs_word |
15 | #if __BITS_PER_LONG == 64 | 15 | #if __BITS_PER_LONG == 64 |
16 | #define __statfs_word long | 16 | #define __statfs_word __kernel_long_t |
17 | #else | 17 | #else |
18 | #define __statfs_word __u32 | 18 | #define __statfs_word __u32 |
19 | #endif | 19 | #endif |