summaryrefslogtreecommitdiffstats
path: root/kernel/sched/core.c
diff options
context:
space:
mode:
authorZhihui Zhang2014-09-21 03:24:36 +0200
committerIngo Molnar2014-09-21 09:00:02 +0200
commit9c58c79a8a76c510cd3a5012c536d4fe3c81ec3b (patch)
treef1ab38bfa70d4f9c2a7ef1008c5de9c7d5729d8f /kernel/sched/core.c
parentsched: Test the CPU's capacity in wake_affine() (diff)
downloadkernel-qcow2-linux-9c58c79a8a76c510cd3a5012c536d4fe3c81ec3b.tar.gz
kernel-qcow2-linux-9c58c79a8a76c510cd3a5012c536d4fe3c81ec3b.tar.xz
kernel-qcow2-linux-9c58c79a8a76c510cd3a5012c536d4fe3c81ec3b.zip
sched: Clean up some typos and grammatical errors in code/comments
Signed-off-by: Zhihui Zhang <zzhsuny@gmail.com> Cc: peterz@infradead.org Link: http://lkml.kernel.org/r/1411262676-19928-1-git-send-email-zzhsuny@gmail.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/core.c')
-rw-r--r--kernel/sched/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 61ee2b327a27..a2841904f2d5 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -8069,7 +8069,7 @@ static int tg_cfs_schedulable_down(struct task_group *tg, void *data)
struct cfs_bandwidth *parent_b = &tg->parent->cfs_bandwidth;
quota = normalize_cfs_quota(tg, d);
- parent_quota = parent_b->hierarchal_quota;
+ parent_quota = parent_b->hierarchical_quota;
/*
* ensure max(child_quota) <= parent_quota, inherit when no
@@ -8080,7 +8080,7 @@ static int tg_cfs_schedulable_down(struct task_group *tg, void *data)
else if (parent_quota != RUNTIME_INF && quota > parent_quota)
return -EINVAL;
}
- cfs_b->hierarchal_quota = quota;
+ cfs_b->hierarchical_quota = quota;
return 0;
}