summaryrefslogtreecommitdiffstats
path: root/drivers/misc/sgi-gru/grutables.h
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/grutables.h
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/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 adaf691d59f5..54c3bb171eef 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;