gru: fix GRU interrupt race at deallocate
authorJack Steiner <steiner@sgi.com>
Wed, 16 Dec 2009 00:48:18 +0000 (16:48 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Dec 2009 15:20:17 +0000 (07:20 -0800)
commit2ce4d4c937ce4c14704f02ae60e2e07e3906c68a
treebf6b6f32910e8550bd30dd338172a46e35d6d81e
parent74ccd09526a0254c362adcc6c862354d724aa803
gru: fix GRU interrupt race at deallocate

Fix a race where an interrupt could be received for a GRU context that has
been deallocated.

Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/sgi-gru/grufault.c
drivers/misc/sgi-gru/gruprocfs.c
drivers/misc/sgi-gru/grutables.h