]> git.karo-electronics.de Git - karo-tx-linux.git/commit
um: fix free_winch() mess
authorAl Viro <viro@ftp.linux.org.uk>
Wed, 14 Sep 2011 23:21:31 +0000 (16:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 15 Sep 2011 01:09:37 +0000 (18:09 -0700)
commit7cf3cf21aac7d75d27e8e7cd039bd33d19fb300d
tree49cad391c87a4aec5f6941b4d93b2cccb94bc230
parent45cd5e2d4e632f55af1d6131f33b554c98f8b929
um: fix free_winch() mess

while not doing free_irq() from irq handler is commendable, kfree() on the
data passed to said handler before free_irq() is Not Good(tm).  Freeing
the stack it's being run on is also not nice...  Solution: delay actually
freeing stuff.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/drivers/line.c