aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched_debug.c')
-rw-r--r--kernel/sched_debug.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c
index 995bbd384a97..48748d04144d 100644
--- a/kernel/sched_debug.c
+++ b/kernel/sched_debug.c
@@ -239,11 +239,7 @@ static int
239root_user_share_read_proc(char *page, char **start, off_t off, int count, 239root_user_share_read_proc(char *page, char **start, off_t off, int count,
240 int *eof, void *data) 240 int *eof, void *data)
241{ 241{
242 int len; 242 return sprintf(page, "%d\n", init_task_grp_load);
243
244 len = sprintf(page, "%d\n", init_task_grp_load);
245
246 return len;
247} 243}
248 244
249static int 245static int
@@ -297,7 +293,7 @@ static int __init init_sched_debug_procfs(void)
297 pe->proc_fops = &sched_debug_fops; 293 pe->proc_fops = &sched_debug_fops;
298 294
299#ifdef CONFIG_FAIR_USER_SCHED 295#ifdef CONFIG_FAIR_USER_SCHED
300 pe = create_proc_entry("root_user_share", 0644, NULL); 296 pe = create_proc_entry("root_user_cpu_share", 0644, NULL);
301 if (!pe) 297 if (!pe)
302 return -ENOMEM; 298 return -ENOMEM;
303 299