]> Git Repo - linux.git/commitdiff
x86, x32: Use __kernel_long_t for __statfs_word
authorH.J. Lu <[email protected]>
Tue, 17 Dec 2013 00:12:57 +0000 (16:12 -0800)
committerH. Peter Anvin <[email protected]>
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 <[email protected]>
Link: http://lkml.kernel.org/r/CAMe9rOrcppHvC5g8U9n7D%[email protected]
Cc: Arnd Bergmann <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
include/uapi/asm-generic/statfs.h

index 0999647fca13eb0a43dbb801fa41178af8bb7d74..cb89cc730f0ba159bcb195679bdf84327e9ee672 100644 (file)
@@ -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
This page took 0.054894 seconds and 4 git commands to generate.