Message ID | 20120807174728.GF3745@lenteja.do-not-panic.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/compat/compat-2.6.36.c b/compat/compat-2.6.36.c index 8f25be0..72ada4a 100644 --- a/compat/compat-2.6.36.c +++ b/compat/compat-2.6.36.c @@ -133,6 +133,7 @@ int compat_schedule_delayed_work_on(int cpu, } EXPORT_SYMBOL_GPL(compat_schedule_delayed_work_on); +#undef flush_scheduled_work void compat_flush_scheduled_work(void) { /* @@ -140,6 +141,7 @@ void compat_flush_scheduled_work(void) * go with the old kernel's one first for now (keventd_wq) and * if think its reasonable later we can flip this around. */ + flush_workqueue(system_wq); flush_scheduled_work(); } EXPORT_SYMBOL_GPL(compat_flush_scheduled_work);