From: Ingo Molnar <[EMAIL PROTECTED]> add include/linux/async.h which contains the kernel-side API declarations.
it also provides NOP stubs for the !CONFIG_ASYNC_SUPPORT case. Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]> Signed-off-by: Arjan van de Ven <[EMAIL PROTECTED]> --- include/linux/async.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) Index: linux/include/linux/async.h =================================================================== --- /dev/null +++ linux/include/linux/async.h @@ -0,0 +1,25 @@ +#ifndef _LINUX_ASYNC_H +#define _LINUX_ASYNC_H +/* + * The syslet subsystem - asynchronous syscall execution support. + * + * Generic kernel API definitions: + */ + +#ifdef CONFIG_ASYNC_SUPPORT +extern void async_init(struct task_struct *t); +extern void async_exit(struct task_struct *t); +extern void __async_schedule(struct task_struct *t); +#else /* !CONFIG_ASYNC_SUPPORT */ +static inline void async_init(struct task_struct *t) +{ +} +static inline void async_exit(struct task_struct *t) +{ +} +static inline void __async_schedule(struct task_struct *t) +{ +} +#endif /* !CONFIG_ASYNC_SUPPORT */ + +#endif - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/