aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/sgi-gru/grufile.c
diff options
context:
space:
mode:
authorJack Steiner <steiner@sgi.com>2009-06-17 19:28:32 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-18 16:04:03 -0400
commit92b39388eeb45326feb0fa8bd69dbbce66c9efbf (patch)
treef39193cc5341dfd4ed3b807f9f802c4575822a29 /drivers/misc/sgi-gru/grufile.c
parent9f2501142bd3c496afa7efdf18583aab56fe3134 (diff)
gru: generic infrastructure for context options
Change the user GRU request for specifying the "task_slice" option to use a generic infrastructure that can be expanded in the future to include additional context options. No new capabilities are added with this patch. 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/grufile.c')
-rw-r--r--drivers/misc/sgi-gru/grufile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/sgi-gru/grufile.c b/drivers/misc/sgi-gru/grufile.c
index 2b72629db91a..fa2d93a9fb8d 100644
--- a/drivers/misc/sgi-gru/grufile.c
+++ b/drivers/misc/sgi-gru/grufile.c
@@ -198,8 +198,8 @@ static long gru_file_unlocked_ioctl(struct file *file, unsigned int req,
198 case GRU_CREATE_CONTEXT: 198 case GRU_CREATE_CONTEXT:
199 err = gru_create_new_context(arg); 199 err = gru_create_new_context(arg);
200 break; 200 break;
201 case GRU_SET_TASK_SLICE: 201 case GRU_SET_CONTEXT_OPTION:
202 err = gru_set_task_slice(arg); 202 err = gru_set_context_option(arg);
203 break; 203 break;
204 case GRU_USER_GET_EXCEPTION_DETAIL: 204 case GRU_USER_GET_EXCEPTION_DETAIL:
205 err = gru_get_exception_detail(arg); 205 err = gru_get_exception_detail(arg);