Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff88943a authored by H. Peter Anvin's avatar H. Peter Anvin
Browse files

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: default avatarH. Peter Anvin <hpa@zytor.com>
Cc: Benjamin LaHaise <bcrl@kvack.org>
parent 644595f8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,