X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=include%2Flinux%2Fworkqueue.h;h=ce6badc98f6dcb3f2b78615cd4aa382d6d956abd;hb=28d9aa613daa65b295a099a8433df97de1c56a2f;hp=5c89ac6e7f559c08273659e2bf65f278e7d04ca7;hpb=f5a421a4509a7e2dff11da0f01b0548f4f84d503;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index 5c89ac6e7f5..ce6badc98f6 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h @@ -148,7 +148,7 @@ extern int keventd_up(void); extern void init_workqueues(void); int execute_in_process_context(work_func_t fn, struct execute_work *); -extern void cancel_work_sync(struct work_struct *work); +extern int cancel_work_sync(struct work_struct *work); /* * Kill off a pending schedule_delayed_work(). Note that the work callback @@ -166,7 +166,7 @@ static inline int cancel_delayed_work(struct delayed_work *work) return ret; } -extern void cancel_delayed_work_sync(struct delayed_work *work); +extern int cancel_delayed_work_sync(struct delayed_work *work); /* Obsolete. use cancel_delayed_work_sync() */ static inline