[alsa-devel] [PATCH] hda-emu: Add workqueue_set_max_active function

David Henningsson david.henningsson at canonical.com
Fri Nov 29 07:59:18 CET 2013


Signed-off-by: David Henningsson <david.henningsson at canonical.com>
---
 include/linux/workqueue.h |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index 1a8834e..ca49b4c 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -53,4 +53,7 @@ static inline struct delayed_work *to_delayed_work(struct work_struct *work)
 	return container_of(work, struct delayed_work, work);
 }
 
+static inline void workqueue_set_max_active(struct workqueue_struct *wq,
+					    int max_active) { }
+
 #endif /* __LINUX_WORKQUEUE_H */
-- 
1.7.9.5



More information about the Alsa-devel mailing list