diff options
author | H. Peter Anvin <hpa@zytor.com> | 2012-02-14 15:58:56 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-02-20 15:48:48 -0500 |
commit | ff88943a1471440cc6be7a11a942a5a8232bee61 (patch) | |
tree | ea424c77da7fab63f66f9005abac3f38bf5f94a2 /include | |
parent | 644595f89620ba8446cc555be336d24a34464950 (diff) |
aio: Use __kernel_ulong_t to define aio_context_t
Rather than using "unsigned long" which is ABI-dependent, use
__kernel_ulong_t to define the externally visible type aio_context_t.
Note: the change in this form will cause unsigned long/unsigned int
differences on existing ABIs. If that is unacceptable we may have to
define a new type.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Benjamin LaHaise <bcrl@kvack.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/aio_abi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/aio_abi.h b/include/linux/aio_abi.h index 2c8731664180..86fa7a71336a 100644 --- a/include/linux/aio_abi.h +++ b/include/linux/aio_abi.h | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <linux/types.h> | 30 | #include <linux/types.h> |
31 | #include <asm/byteorder.h> | 31 | #include <asm/byteorder.h> |
32 | 32 | ||
33 | typedef unsigned long aio_context_t; | 33 | typedef __kernel_ulong_t aio_context_t; |
34 | 34 | ||
35 | enum { | 35 | enum { |
36 | IOCB_CMD_PREAD = 0, | 36 | IOCB_CMD_PREAD = 0, |