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>
This commit is contained in:
Jack Steiner
2009-04-02 16:59:06 -07:00
committed by Linus Torvalds
parent 438846043a
commit a24e5e1caf
4 changed files with 217 additions and 159 deletions

View File

@@ -239,6 +239,9 @@ struct gru_stats_s {
};
enum mcs_op {cchop_allocate, cchop_start, cchop_interrupt, cchop_interrupt_sync,
cchop_deallocate, tghop_invalidate, mcsop_last};
#define OPT_DPRINT 1
#define OPT_STATS 2
#define GRU_QUICKLOOK 4