summaryrefslogtreecommitdiffstats
path: root/drivers/misc/sgi-gru/gruprocfs.c
diff options
context:
space:
mode:
authorJack Steiner <steiner@sgi.com>2009-12-16 01:48:18 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-16 16:20:17 +0100
commit2ce4d4c937ce4c14704f02ae60e2e07e3906c68a (patch)
treebf6b6f32910e8550bd30dd338172a46e35d6d81e /drivers/misc/sgi-gru/gruprocfs.c
parentgru: add hugepage support (diff)
downloadlinux-2ce4d4c937ce4c14704f02ae60e2e07e3906c68a.tar.xz
linux-2ce4d4c937ce4c14704f02ae60e2e07e3906c68a.zip
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>
Diffstat (limited to 'drivers/misc/sgi-gru/gruprocfs.c')
-rw-r--r--drivers/misc/sgi-gru/gruprocfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/sgi-gru/gruprocfs.c b/drivers/misc/sgi-gru/gruprocfs.c
index 54a5a1c35ad1..7768b87d995b 100644
--- a/drivers/misc/sgi-gru/gruprocfs.c
+++ b/drivers/misc/sgi-gru/gruprocfs.c
@@ -66,6 +66,7 @@ static int statistics_show(struct seq_file *s, void *p)
printstat(s, intr);
printstat(s, intr_cbr);
printstat(s, intr_tfh);
+ printstat(s, intr_spurious);
printstat(s, intr_mm_lock_failed);
printstat(s, call_os);
printstat(s, call_os_wait_queue);