X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fworkqueue.h;fp=include%2Flinux%2Fworkqueue.h;h=86b1113002319b5b9db5f765426d3ef2a35c687d;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=9bca3539a1e5a965023bd20c148320d96f7d1e27;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index 9bca3539a..86b111300 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h @@ -20,10 +20,6 @@ struct work_struct { struct timer_list timer; }; -struct execute_work { - struct work_struct work; -}; - #define __WORK_INITIALIZER(n, f, d) { \ .entry = { &(n).entry, &(n).entry }, \ .func = (f), \ @@ -63,8 +59,6 @@ extern void destroy_workqueue(struct workqueue_struct *wq); extern int FASTCALL(queue_work(struct workqueue_struct *wq, struct work_struct *work)); extern int FASTCALL(queue_delayed_work(struct workqueue_struct *wq, struct work_struct *work, unsigned long delay)); -extern int queue_delayed_work_on(int cpu, struct workqueue_struct *wq, - struct work_struct *work, unsigned long delay); extern void FASTCALL(flush_workqueue(struct workqueue_struct *wq)); extern int FASTCALL(schedule_work(struct work_struct *work)); @@ -80,8 +74,6 @@ extern void init_workqueues(void); void cancel_rearming_delayed_work(struct work_struct *work); void cancel_rearming_delayed_workqueue(struct workqueue_struct *, struct work_struct *); -int execute_in_process_context(void (*fn)(void *), void *, - struct execute_work *); /* * Kill off a pending schedule_delayed_work(). Note that the work callback