diff --git a/kernel/cpuset.c b/kernel/cpuset.c index fc7f4748d34a9f..f0da3c93588ded 100644 --- a/kernel/cpuset.c +++ b/kernel/cpuset.c @@ -92,7 +92,7 @@ struct cpuset { * and if it ends up empty, it will inherit the parent's mask. * * - * On legacy hierachy: + * On legacy hierarchy: * * The user-configured masks are always the same with effective masks. */ @@ -850,7 +850,7 @@ static void update_tasks_cpumask(struct cpuset *cs) * When congifured cpumask is changed, the effective cpumasks of this cpuset * and all its descendants need to be updated. * - * On legacy hierachy, effective_cpus will be the same with cpu_allowed. + * On legacy hierarchy, effective_cpus will be the same with cpu_allowed. * * Called with cpuset_mutex held */ diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 41ff75b478c60b..9008956a5c5169 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -967,7 +967,7 @@ static struct worker *find_worker_executing_work(struct worker_pool *pool, * move_linked_works - move linked works to a list * @work: start of series of works to be scheduled * @head: target list to append @work to - * @nextp: out paramter for nested worklist walking + * @nextp: out parameter for nested worklist walking * * Schedule linked works starting from @work to @head. Work series to * be scheduled starts at @work and includes any consecutive work with