mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 21:21:09 +00:00
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>
This commit is contained in:
parent
06877c33fe
commit
4cf86d77f5
4 changed files with 28 additions and 28 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue