summaryrefslogtreecommitdiff
path: root/drivers/misc/sgi-gru/grutables.h
diff options
context:
space:
mode:
authorJack Steiner <steiner@sgi.com>2009-12-16 00:48:18 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-16 15:20:17 (GMT)
commit2ce4d4c937ce4c14704f02ae60e2e07e3906c68a (patch)
treebf6b6f32910e8550bd30dd338172a46e35d6d81e /drivers/misc/sgi-gru/grutables.h
parent74ccd09526a0254c362adcc6c862354d724aa803 (diff)
downloadlinux-2ce4d4c937ce4c14704f02ae60e2e07e3906c68a.tar.xz
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/grutables.h')
-rw-r--r--drivers/misc/sgi-gru/grutables.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/sgi-gru/grutables.h b/drivers/misc/sgi-gru/grutables.h
index adaf691d..54c3bb1 100644
--- a/drivers/misc/sgi-gru/grutables.h
+++ b/drivers/misc/sgi-gru/grutables.h
@@ -192,6 +192,7 @@ struct gru_stats_s {
atomic_long_t intr;
atomic_long_t intr_cbr;
atomic_long_t intr_tfh;
+ atomic_long_t intr_spurious;
atomic_long_t intr_mm_lock_failed;
atomic_long_t call_os;
atomic_long_t call_os_wait_queue;