mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 21:51:05 +00:00
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>
This commit is contained in:
parent
644595f896
commit
ff88943a14
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <asm/byteorder.h>
|
#include <asm/byteorder.h>
|
||||||
|
|
||||||
typedef unsigned long aio_context_t;
|
typedef __kernel_ulong_t aio_context_t;
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
IOCB_CMD_PREAD = 0,
|
IOCB_CMD_PREAD = 0,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue