um: race fix: initialize delayed_work *before* registering IRQ
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 10 Sep 2011 12:17:04 +0000 (08:17 -0400)
committerRichard Weinberger <richard@nod.at>
Sat, 24 Mar 2012 23:29:54 +0000 (00:29 +0100)
commit0fcd719934cd3521ae4a977f454e75e2be60b7ff
treef6679910030fa0361ab52603987b72bc5e7ef314
parent5eaa3411a80fe50b3a0333389e0e259c580869e9
um: race fix: initialize delayed_work *before* registering IRQ

... since chan_interrupt() might schedule it if there's too much
incoming data.  Kill task argument of chan_interrupt(), while
we are at it - it's always &line->task.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/drivers/chan.h
arch/um/drivers/chan_kern.c
arch/um/drivers/line.c