aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/sgi-gru/grutables.h
diff options
context:
space:
mode:
authorJack Steiner <steiner@sgi.com>2009-06-17 19:28:25 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-18 16:04:00 -0400
commit4a7a17c1188a878e9f00e4ca8dc724c7cff17606 (patch)
treee7c728b3031534620fbb01ab0ae059ae28fd5f89 /drivers/misc/sgi-gru/grutables.h
parent940229b9c0dcd9b6e1d64d0d26eba00238ddae98 (diff)
gru: support instruction completion interrupts
Add support for interrupts generated by GRU instruction completion. Previously, the only interrupts were for TLB misses. The hardware also supports interrupts on instruction completion. This will be supported for instructions issued by the kernel. 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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/misc/sgi-gru/grutables.h b/drivers/misc/sgi-gru/grutables.h
index 5f8f3bda2fa9..ca81800146ff 100644
--- a/drivers/misc/sgi-gru/grutables.h
+++ b/drivers/misc/sgi-gru/grutables.h
@@ -462,6 +462,11 @@ struct gru_blade_state {
462 struct rw_semaphore bs_kgts_sema; /* lock for kgts */ 462 struct rw_semaphore bs_kgts_sema; /* lock for kgts */
463 struct gru_thread_state *bs_kgts; /* GTS for kernel use */ 463 struct gru_thread_state *bs_kgts; /* GTS for kernel use */
464 464
465 /* ---- the following are used for managing kernel async GRU CBRs --- */
466 int bs_async_dsr_bytes; /* DSRs for async */
467 int bs_async_cbrs; /* CBRs AU for async */
468 struct completion *bs_async_wq;
469
465 /* ---- the following are protected by the bs_lock spinlock ---- */ 470 /* ---- the following are protected by the bs_lock spinlock ---- */
466 spinlock_t bs_lock; /* lock used for 471 spinlock_t bs_lock; /* lock used for
467 stealing contexts */ 472 stealing contexts */