Skip to content

Commit 79dbbc6

Browse files
hjl-toolsH. Peter Anvin
authored andcommitted
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>
1 parent b70fedc commit 79dbbc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/uapi/asm-generic/statfs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*/
1414
#ifndef __statfs_word
1515
#if __BITS_PER_LONG == 64
16-
#define __statfs_word long
16+
#define __statfs_word __kernel_long_t
1717
#else
1818
#define __statfs_word __u32
1919
#endif

0 commit comments

Comments
 (0)