diff options
author | Jack Steiner <steiner@sgi.com> | 2009-06-17 19:28:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-18 16:04:04 -0400 |
commit | 2b702b28addc0f9eb2f37148f0b99f546cadd30a (patch) | |
tree | 9313d3f09de281de0291baa77bc4f5d0057b4b8d /drivers/misc/sgi-gru/grulib.h | |
parent | 1926ee85a903d189c5702eed6531be321e33eb47 (diff) |
gru: fixes to grudump utility
Minor fixes to the SGI GRU grudump facility:
- fix address where user data is written
- add gru number to data passed to user
- indicate if context is locked
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/sgi-gru/grulib.h b/drivers/misc/sgi-gru/grulib.h index a484a9fee3ce..889bc442a3e8 100644 --- a/drivers/misc/sgi-gru/grulib.h +++ b/drivers/misc/sgi-gru/grulib.h | |||
@@ -120,7 +120,7 @@ struct gru_flush_tlb_req { | |||
120 | enum {dcs_pid, dcs_gid}; | 120 | enum {dcs_pid, dcs_gid}; |
121 | struct gru_dump_chiplet_state_req { | 121 | struct gru_dump_chiplet_state_req { |
122 | unsigned int op; | 122 | unsigned int op; |
123 | int gid; | 123 | unsigned int gid; |
124 | int ctxnum; | 124 | int ctxnum; |
125 | char data_opt; | 125 | char data_opt; |
126 | char lock_cch; | 126 | char lock_cch; |
@@ -134,7 +134,7 @@ struct gru_dump_chiplet_state_req { | |||
134 | #define GRU_DUMP_MAGIC 0x3474ab6c | 134 | #define GRU_DUMP_MAGIC 0x3474ab6c |
135 | struct gru_dump_context_header { | 135 | struct gru_dump_context_header { |
136 | unsigned int magic; | 136 | unsigned int magic; |
137 | unsigned char gid; | 137 | unsigned int gid; |
138 | unsigned char ctxnum; | 138 | unsigned char ctxnum; |
139 | unsigned char cbrcnt; | 139 | unsigned char cbrcnt; |
140 | unsigned char dsrcnt; | 140 | unsigned char dsrcnt; |