summaryrefslogtreecommitdiffstats
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>2006-06-28 13:50:33 -0700
committerDave Jones <davej@redhat.com>2006-06-30 01:33:31 -0400
commit7a6bc1cdd506cf81f856f0fef4e56a2ba0c5a26d (patch)
tree610e6ad60d447838c3e26d00458eea04523daa5e /include/linux/workqueue.h
parentccb2fe209dac9ff67f6351e783e610073afaaeaf (diff)
downloadlinux-7a6bc1cdd506cf81f856f0fef4e56a2ba0c5a26d.tar.gz
linux-7a6bc1cdd506cf81f856f0fef4e56a2ba0c5a26d.tar.bz2
linux-7a6bc1cdd506cf81f856f0fef4e56a2ba0c5a26d.zip
[CPUFREQ] Add queue_delayed_work_on() interface for workqueues.
Add queue_delayed_work_on() interface for workqueues. Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com> Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r--include/linux/workqueue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index 957c21c16d62..9bca3539a1e5 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -63,6 +63,8 @@ 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));