Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -1
+1 -1
include/linux/aio_abi.h
··· 30 30 #include <linux/types.h> 31 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 35 enum { 36 36 IOCB_CMD_PREAD = 0,