summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2003-05-25 01:08:12 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-05-25 01:08:12 -0700
commitd69b7c27f2d90cfcdb1a654b27fbf6cc1085ee4e (patch)
tree64786a9aedbc962f5eb5a57b4415272a62535f98 /include
parent2b748116a7c9d390fd8482fe9fe6d371262f4f28 (diff)
[PATCH] ppc64: Fix some PPC64 compile warnings
Fix some warnings in the ppc64 build. Also declare a couple of AIO functions in aio.h rather than aio.c They are needed for 32-bit emulation support.
Diffstat (limited to 'include')
-rw-r--r--include/linux/aio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/aio.h b/include/linux/aio.h
index a00ad7b7bf92..adbf5ea8bbe9 100644
--- a/include/linux/aio.h
+++ b/include/linux/aio.h
@@ -147,6 +147,9 @@ extern int FASTCALL(aio_complete(struct kiocb *iocb, long res, long res2));
extern void FASTCALL(__put_ioctx(struct kioctx *ctx));
struct mm_struct;
extern void FASTCALL(exit_aio(struct mm_struct *mm));
+extern struct kioctx *lookup_ioctx(unsigned long ctx_id);
+extern int FASTCALL(io_submit_one(struct kioctx *ctx,
+ struct iocb *user_iocb, struct iocb *iocb));
/* semi private, but used by the 32bit emulations: */
struct kioctx *lookup_ioctx(unsigned long ctx_id);