aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-10-05 14:48:08 +0200
committerTakashi Iwai <tiwai@suse.de>2018-10-05 14:48:08 +0200
commit930cbf43864c1f1d364108a28844737d2a6d27b1 (patch)
tree94989f70919e168d24466382821dcc0f903155ce
parenta22cc1767239badb9aa1cf5825cdfceafe17dacd (diff)
downloadhda-emu-930cbf43864c1f1d364108a28844737d2a6d27b1.tar.gz
Add a workaround for the missing current_work()
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--include/linux/workqueue.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index 927a261..9df10fa 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -49,6 +49,7 @@ static inline void flush_scheduled_work(void)
#define flush_work(w) flush_scheduled_work()
#define delayed_work_pending(q) 0
#define workqueue_set_max_active(q,n) do {} while (0)
+#define current_work() NULL /* XXX */
static inline struct delayed_work *to_delayed_work(struct work_struct *work)
{