sched/wait: fix ___wait_var_event(exclusive)
[linux-2.6-microblaze.git] / kernel / sched / wait_bit.c
index 45eba18..02ce292 100644 (file)
@@ -179,6 +179,7 @@ void init_wait_var_entry(struct wait_bit_queue_entry *wbq_entry, void *var, int
                        .bit_nr = -1,
                },
                .wq_entry = {
+                       .flags   = flags,
                        .private = current,
                        .func    = var_wake_function,
                        .entry   = LIST_HEAD_INIT(wbq_entry->wq_entry.entry),