4 #include <linux/aio_abi.h>
12 typedef int (kiocb_cancel_fn)(struct kiocb *);
16 extern void exit_aio(struct mm_struct *mm);
17 void kiocb_set_cancel_fn(struct kiocb *req, kiocb_cancel_fn *cancel);
19 static inline void exit_aio(struct mm_struct *mm) { }
20 static inline void kiocb_set_cancel_fn(struct kiocb *req,
21 kiocb_cancel_fn *cancel) { }
22 #endif /* CONFIG_AIO */
25 extern unsigned long aio_nr;
26 extern unsigned long aio_max_nr;
28 #endif /* __LINUX__AIO_H */