[PATCH] uniput - fix crash on SMP
commite7507ed91e093b9e4e218e41ebfdce05458258fc
authorDmitry Torokhov <dtor_core@ameritech.net>
Mon, 17 Oct 2005 23:43:32 +0000 (17 16:43 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 18 Oct 2005 00:03:57 +0000 (17 17:03 -0700)
treec2e89b585e9153677d626bb7dfe7ef12426016a0
parent5cc9eeef9a9567acdfc2f6943f24381bf460f008
[PATCH] uniput - fix crash on SMP

Only signal completion after marking request slot as free, otherwise other
processor can free request structure before we finish using it.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/input/misc/uinput.c