Skip to content

Commit

Permalink
aio: Use __kernel_ulong_t to define aio_context_t
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H. Peter Anvin committed Feb 20, 2012
1 parent 644595f commit ff88943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/aio_abi.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <linux/types.h>
#include <asm/byteorder.h>

typedef unsigned long aio_context_t;
typedef __kernel_ulong_t aio_context_t;

enum {
IOCB_CMD_PREAD = 0,
Expand Down

0 comments on commit ff88943

Please sign in to comment.