diff options
author | Jack Steiner <steiner@sgi.com> | 2009-04-02 19:59:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-02 22:05:06 -0400 |
commit | a24e5e1caf4875bbe09f328b5f4daef6d25ebcc4 (patch) | |
tree | 3b9214880d848c1b4b071fcf00eb39a8ef8cb47b /drivers/misc/sgi-gru/grutables.h | |
parent | 438846043af39fef286f68b197d42bd75f49898e (diff) |
sgi-gru: change GRU CCH commands from inline functions to outofline functions
Change the GRU instructions that manage contexts from inline functions to
out-of-line functions. This simplifies adding statistics & error checking
to these functions.
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/misc/sgi-gru/grutables.h b/drivers/misc/sgi-gru/grutables.h index cc0fc734405e..378a0894198e 100644 --- a/drivers/misc/sgi-gru/grutables.h +++ b/drivers/misc/sgi-gru/grutables.h | |||
@@ -239,6 +239,9 @@ struct gru_stats_s { | |||
239 | 239 | ||
240 | }; | 240 | }; |
241 | 241 | ||
242 | enum mcs_op {cchop_allocate, cchop_start, cchop_interrupt, cchop_interrupt_sync, | ||
243 | cchop_deallocate, tghop_invalidate, mcsop_last}; | ||
244 | |||
242 | #define OPT_DPRINT 1 | 245 | #define OPT_DPRINT 1 |
243 | #define OPT_STATS 2 | 246 | #define OPT_STATS 2 |
244 | #define GRU_QUICKLOOK 4 | 247 | #define GRU_QUICKLOOK 4 |