aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/sgi-gru/grutables.h
diff options
context:
space:
mode:
authorJack Steiner <steiner@sgi.com>2009-06-17 19:28:28 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-18 16:04:03 -0400
commitd5826dd6002f23940458860701ce22fba9df2614 (patch)
treeb0220c628cc2606b77fd39c38144c83396b83ca9 /drivers/misc/sgi-gru/grutables.h
parent1a2c09e3b41e334b6651d53b39cfe8ceefbc45f8 (diff)
gru: add user request to explicitly unload a gru context
Add user function to explicitly unload GRU kernel contexts from the GRU. Only contexts that are not in-use will be unloaded. This function is primarily for testing. It is not expected that this will be used in normal production systems. 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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/sgi-gru/grutables.h b/drivers/misc/sgi-gru/grutables.h
index 665704683ab8..9761bfee8669 100644
--- a/drivers/misc/sgi-gru/grutables.h
+++ b/drivers/misc/sgi-gru/grutables.h
@@ -638,8 +638,8 @@ extern void gru_unload_context(struct gru_thread_state *gts, int savestate);
638extern int gru_update_cch(struct gru_thread_state *gts, int force_unload); 638extern int gru_update_cch(struct gru_thread_state *gts, int force_unload);
639extern void gts_drop(struct gru_thread_state *gts); 639extern void gts_drop(struct gru_thread_state *gts);
640extern void gru_tgh_flush_init(struct gru_state *gru); 640extern void gru_tgh_flush_init(struct gru_state *gru);
641extern int gru_kservices_init(struct gru_state *gru); 641extern int gru_kservices_init(void);
642extern void gru_kservices_exit(struct gru_state *gru); 642extern void gru_kservices_exit(void);
643extern int gru_dump_chiplet_request(unsigned long arg); 643extern int gru_dump_chiplet_request(unsigned long arg);
644extern irqreturn_t gru_intr(int irq, void *dev_id); 644extern irqreturn_t gru_intr(int irq, void *dev_id);
645extern int gru_handle_user_call_os(unsigned long address); 645extern int gru_handle_user_call_os(unsigned long address);