aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/sgi-gru/grutables.h
diff options
context:
space:
mode:
authorJack Steiner <steiner@sgi.com>2009-12-15 19:48:06 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-16 10:20:15 -0500
commit99f7c229b32bdf7424fbeb1d0d1b3883e14e97d0 (patch)
treebc5cbd2cd6c8452faacfb2e27dc1fe9dc3e1000a /drivers/misc/sgi-gru/grutables.h
parent55484c45dbeca2eec7642932ec3f60f8a2d4bdbf (diff)
gru: allow users to specify gru chiplet 3
This patch builds on the infrastructure introduced in the patches that allow user specification of GRU blades & chiplets for context allocation. This patch simplifies the algorithms for migrating GRU contexts between blades. No new functionality is introduced. 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, 1 insertions, 3 deletions
diff --git a/drivers/misc/sgi-gru/grutables.h b/drivers/misc/sgi-gru/grutables.h
index 8a61a8599bac..676da7821992 100644
--- a/drivers/misc/sgi-gru/grutables.h
+++ b/drivers/misc/sgi-gru/grutables.h
@@ -382,8 +382,6 @@ struct gru_thread_state {
382 char ts_blade; /* If >= 0, migrate context if 382 char ts_blade; /* If >= 0, migrate context if
383 ref from diferent blade */ 383 ref from diferent blade */
384 char ts_force_cch_reload; 384 char ts_force_cch_reload;
385 char ts_force_unload;/* force context to be unloaded
386 after migration */
387 char ts_cbr_idx[GRU_CBR_AU];/* CBR numbers of each 385 char ts_cbr_idx[GRU_CBR_AU];/* CBR numbers of each
388 allocated CB */ 386 allocated CB */
389 int ts_data_valid; /* Indicates if ts_gdata has 387 int ts_data_valid; /* Indicates if ts_gdata has
@@ -636,7 +634,7 @@ extern struct gru_state *gru_assign_gru_context(struct gru_thread_state *gts);
636extern void gru_load_context(struct gru_thread_state *gts); 634extern void gru_load_context(struct gru_thread_state *gts);
637extern void gru_steal_context(struct gru_thread_state *gts); 635extern void gru_steal_context(struct gru_thread_state *gts);
638extern void gru_unload_context(struct gru_thread_state *gts, int savestate); 636extern void gru_unload_context(struct gru_thread_state *gts, int savestate);
639extern int gru_update_cch(struct gru_thread_state *gts, int force_unload); 637extern int gru_update_cch(struct gru_thread_state *gts);
640extern void gts_drop(struct gru_thread_state *gts); 638extern void gts_drop(struct gru_thread_state *gts);
641extern void gru_tgh_flush_init(struct gru_state *gru); 639extern void gru_tgh_flush_init(struct gru_state *gru);
642extern int gru_kservices_init(void); 640extern int gru_kservices_init(void);