git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gru: add user request to specify gru slice
[safe/jmp/linux-2.6]
/
drivers
/
misc
/
sgi-gru
/
grufault.c
diff --git
a/drivers/misc/sgi-gru/grufault.c
b/drivers/misc/sgi-gru/grufault.c
index
b894b7e
..
1ad360c
100644
(file)
--- a/
drivers/misc/sgi-gru/grufault.c
+++ b/
drivers/misc/sgi-gru/grufault.c
@@
-769,6
+769,10
@@
int gru_set_context_option(unsigned long arg)
/* Register the current task as the GSEG owner */
gts->ts_tgid_owner = current->tgid;
break;
+ case sco_cch_req_slice:
+ /* Set the CCH slice option */
+ gts->ts_cch_req_slice = req.val1 & 3;
+ break;
default:
ret = -EINVAL;
}