From d69b7c27f2d90cfcdb1a654b27fbf6cc1085ee4e Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sun, 25 May 2003 01:08:12 -0700 Subject: [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. --- include/linux/aio.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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); -- cgit v1.2.3