summaryrefslogtreecommitdiffstats
path: root/kernel/sched_debug.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-10-15 17:00:14 +0200
committerIngo Molnar <mingo@elte.hu>2007-10-15 17:00:14 +0200
commit4cf86d77f5942336e7cd9de874b38b3c83b54d5e (patch)
treea62b0a1b5a71f715257b82c0f65f894153757c84 /kernel/sched_debug.c
parent06877c33fe9261ccdf143492c28de93c56493079 (diff)
downloadop-kernel-dev-4cf86d77f5942336e7cd9de874b38b3c83b54d5e.zip
op-kernel-dev-4cf86d77f5942336e7cd9de874b38b3c83b54d5e.tar.gz
sched: cleanup: rename task_grp to task_group
cleanup: rename task_grp to task_group. No need to save two characters and 'grp' is annoying to read. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_debug.c')
-rw-r--r--kernel/sched_debug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c
index 48748d0..6f87b31 100644
--- a/kernel/sched_debug.c
+++ b/kernel/sched_debug.c
@@ -239,7 +239,7 @@ static int
root_user_share_read_proc(char *page, char **start, off_t off, int count,
int *eof, void *data)
{
- return sprintf(page, "%d\n", init_task_grp_load);
+ return sprintf(page, "%d\n", init_task_group_load);
}
static int
@@ -260,8 +260,8 @@ root_user_share_write_proc(struct file *file, const char __user *buffer,
mutex_lock(&root_user_share_mutex);
- init_task_grp_load = shares;
- rc = sched_group_set_shares(&init_task_grp, shares);
+ init_task_group_load = shares;
+ rc = sched_group_set_shares(&init_task_group, shares);
mutex_unlock(&root_user_share_mutex);
OpenPOWER on IntegriCloud