[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-79dbbc60493f357912d5f1da5a23147ba0c01c7a@git.kernel.org>
Date: Fri, 20 Dec 2013 16:09:36 -0800
From: "tip-bot for H.J. Lu" <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: arnd@...db.de, linux-kernel@...r.kernel.org, hpa@...or.com,
mingo@...nel.org, tglx@...utronix.de, hpa@...ux.intel.com,
hjl.tools@...il.com
Subject: [tip:x86/x32] x86, x32: Use __kernel_long_t for __statfs_word
Commit-ID: 79dbbc60493f357912d5f1da5a23147ba0c01c7a
Gitweb: http://git.kernel.org/tip/79dbbc60493f357912d5f1da5a23147ba0c01c7a
Author: H.J. Lu <hjl.tools@...il.com>
AuthorDate: Mon, 16 Dec 2013 16:12:57 -0800
Committer: H. Peter Anvin <hpa@...ux.intel.com>
CommitDate: Fri, 20 Dec 2013 16:06:21 -0800
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@...il.com>
Link: http://lkml.kernel.org/r/CAMe9rOrcppHvC5g8U9n7D%2BpxVGdu1G598pge3Erfw7Pr-iEpAQ@mail.gmail.com
Cc: Arnd Bergmann <arnd@...db.de>
Signed-off-by: H. Peter Anvin <hpa@...ux.intel.com>
---
include/uapi/asm-generic/statfs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/asm-generic/statfs.h b/include/uapi/asm-generic/statfs.h
index 0999647..cb89cc7 100644
--- 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists