diff options
author | James Bottomley <James.Bottomley@SteelEye.com> | 2005-04-16 18:23:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:23:59 -0400 |
commit | 81ddef77bb774e771db8588b937665cd38f40cee (patch) | |
tree | 5e89b0f6bb47a43b3b00d30a5e1e22db727b5047 /include | |
parent | 9ffb7146f0aa9c0070cda3d8701b0a89e34913d1 (diff) |
[PATCH] re-export cancel_rearming_delayed_workqueue
This was unexported by Arjan because we have no current users.
However, during a conversion from tasklets to workqueues of the parisc led
functions, we ran across a case where this was needed. In particular, the
open coded equivalent of cancel_rearming_delayed_workqueue was implemented
incorrectly, which is, I think, all the evidence necessary that this is a
useful API.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/workqueue.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index ff46f537ba9b..ac39d04d027c 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h | |||
@@ -71,6 +71,8 @@ extern int keventd_up(void); | |||
71 | 71 | ||
72 | extern void init_workqueues(void); | 72 | extern void init_workqueues(void); |
73 | void cancel_rearming_delayed_work(struct work_struct *work); | 73 | void cancel_rearming_delayed_work(struct work_struct *work); |
74 | void cancel_rearming_delayed_workqueue(struct workqueue_struct *, | ||
75 | struct work_struct *); | ||
74 | 76 | ||
75 | /* | 77 | /* |
76 | * Kill off a pending schedule_delayed_work(). Note that the work callback | 78 | * Kill off a pending schedule_delayed_work(). Note that the work callback |