aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/sgi-gru/grulib.h
diff options
context:
space:
mode:
authorJack Steiner <steiner@sgi.com>2009-12-15 19:48:09 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-16 10:20:15 -0500
commitb8229bedd1f39799dc83d5c0dad0bd9cd3e5f44c (patch)
tree2e504f7392de859c9df4598e544853e8d7bc81e9 /drivers/misc/sgi-gru/grulib.h
parent7f2251b1bcdd3d2971b2fde3008b270ea11b8780 (diff)
gru: add debug option for cache flushing
Add a debug option to the SGI GRU driver for flushing GRU cache lines from memory. In theory this is not needed but it is useful for debugging. This has no use by end users. 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/grulib.h')
-rw-r--r--drivers/misc/sgi-gru/grulib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/sgi-gru/grulib.h b/drivers/misc/sgi-gru/grulib.h
index e94ee2b8bd64..e033b36df7e0 100644
--- a/drivers/misc/sgi-gru/grulib.h
+++ b/drivers/misc/sgi-gru/grulib.h
@@ -125,6 +125,8 @@ struct gru_dump_chiplet_state_req {
125 int ctxnum; 125 int ctxnum;
126 char data_opt; 126 char data_opt;
127 char lock_cch; 127 char lock_cch;
128 char flush_cbrs;
129 char fill[10];
128 pid_t pid; 130 pid_t pid;
129 void *buf; 131 void *buf;
130 size_t buflen; 132 size_t buflen;