diff options
| author | Andi Kleen <ak@suse.de> | 2003-03-24 19:21:07 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-03-24 19:21:07 -0800 |
| commit | d9c495bf5f1a2b672a156976f20a9ef49b18d4b6 (patch) | |
| tree | 56297a29a3681f5ddaba11c279cda1d229f6f393 /include/linux | |
| parent | a1652ab328c393a86acb504c75c7c78d6bb1db6b (diff) | |
[PATCH] aio compat patches
The new aio emulation in x86-64 needs a few aio symbols exported.
Export them.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/aio.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/aio.h b/include/linux/aio.h index 6b106ebe99e8..a00ad7b7bf92 100644 --- a/include/linux/aio.h +++ b/include/linux/aio.h @@ -148,6 +148,11 @@ extern void FASTCALL(__put_ioctx(struct kioctx *ctx)); struct mm_struct; extern void FASTCALL(exit_aio(struct mm_struct *mm)); +/* semi private, but used by the 32bit emulations: */ +struct kioctx *lookup_ioctx(unsigned long ctx_id); +int FASTCALL(io_submit_one(struct kioctx *ctx, struct iocb *user_iocb, + struct iocb *iocb)); + #define get_ioctx(kioctx) do { if (unlikely(atomic_read(&(kioctx)->users) <= 0)) BUG(); atomic_inc(&(kioctx)->users); } while (0) #define put_ioctx(kioctx) do { if (unlikely(atomic_dec_and_test(&(kioctx)->users))) __put_ioctx(kioctx); else if (unlikely(atomic_read(&(kioctx)->users) < 0)) BUG(); } while (0) |
