diff options
author | Ben LaHaise <bcrl@kvack.org> | 2002-09-16 22:45:18 +0000 |
---|---|---|
committer | Ben LaHaise <bcrl@kvack.org> | 2002-09-16 22:45:18 +0000 |
commit | 841fe4ad5306890f798816725ea35e0470eae9ff (patch) | |
tree | 9122161ae5fee6d734b63476add0e3dd26258bcf /src | |
parent | 0cf2b27c836aa2db083bfb6f0c81d0ec187c31b8 (diff) | |
download | libaio-841fe4ad5306890f798816725ea35e0470eae9ff.tar.gz |
libaio now actually does work on ia64
Diffstat (limited to 'src')
-rw-r--r-- | src/libaio.h | 6 | ||||
-rw-r--r-- | src/syscall-ia64.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libaio.h b/src/libaio.h index ac09231..fa03ed9 100644 --- a/src/libaio.h +++ b/src/libaio.h @@ -65,10 +65,8 @@ struct io_iocb_sockaddr { }; /* result code is the length of the sockaddr, or -'ve errno */ struct io_iocb_common { - void *buf; - unsigned __pad1; - long nbytes; - unsigned __pad2; + PADDEDptr(void *buf, __pad1); + PADDEDul(nbytes, __pad2); long long offset; long long __pad3, __pad4; }; /* result code is the amount read or -'ve errno */ diff --git a/src/syscall-ia64.h b/src/syscall-ia64.h index c590547..484e97c 100644 --- a/src/syscall-ia64.h +++ b/src/syscall-ia64.h @@ -11,6 +11,8 @@ " mov r15=" SYMSTR( __NR_ ## name ) "\n" \ " break 0x100000\n" \ " ;;\n" \ + " cmp.eq p6,p0=-1,r10\n" \ + " ;;\n" \ " (p6) sub r8=0,r8\n" \ " br.ret.sptk.few b0\n" \ ".size " SYMSTR(name) ", . - " SYMSTR(name) "\n" \ |