diff options
author | Jack Steiner <steiner@sgi.com> | 2009-12-15 19:48:18 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-16 10:20:17 -0500 |
commit | 2ce4d4c937ce4c14704f02ae60e2e07e3906c68a (patch) | |
tree | bf6b6f32910e8550bd30dd338172a46e35d6d81e /drivers/misc/sgi-gru/gruprocfs.c | |
parent | 74ccd09526a0254c362adcc6c862354d724aa803 (diff) |
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.c | 1 |
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) | |||
66 | printstat(s, intr); | 66 | printstat(s, intr); |
67 | printstat(s, intr_cbr); | 67 | printstat(s, intr_cbr); |
68 | printstat(s, intr_tfh); | 68 | printstat(s, intr_tfh); |
69 | printstat(s, intr_spurious); | ||
69 | printstat(s, intr_mm_lock_failed); | 70 | printstat(s, intr_mm_lock_failed); |
70 | printstat(s, call_os); | 71 | printstat(s, call_os); |
71 | printstat(s, call_os_wait_queue); | 72 | printstat(s, call_os_wait_queue); |