From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752237AbdLFUbh (ORCPT ); Wed, 6 Dec 2017 15:31:37 -0500 Received: from terminus.zytor.com ([65.50.211.136]:37619 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751821AbdLFUbe (ORCPT ); Wed, 6 Dec 2017 15:31:34 -0500 Date: Wed, 6 Dec 2017 12:27:55 -0800 From: tip-bot for Brendan Jackman Message-ID: Cc: bigeasy@linutronix.de, brendan.jackman@arm.com, peterz@infradead.org, quentin.perret@arm.com, tglx@linutronix.de, dietmar.eggemann@arm.com, boris.ostrovsky@oracle.com, mingo@kernel.org, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, hpa@zytor.com Reply-To: bigeasy@linutronix.de, brendan.jackman@arm.com, peterz@infradead.org, mingo@kernel.org, boris.ostrovsky@oracle.com, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, hpa@zytor.com, quentin.perret@arm.com, tglx@linutronix.de, dietmar.eggemann@arm.com In-Reply-To: <20171206105911.28093-1-brendan.jackman@arm.com> References: <20171206105911.28093-1-brendan.jackman@arm.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:core/urgent] cpu/hotplug: Fix state name in takedown_cpu() comment Git-Commit-ID: 5b1ead6800cb2241aeadcba32736c5836e59c7e1 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 5b1ead6800cb2241aeadcba32736c5836e59c7e1 Gitweb: https://git.kernel.org/tip/5b1ead6800cb2241aeadcba32736c5836e59c7e1 Author: Brendan Jackman AuthorDate: Wed, 6 Dec 2017 10:59:11 +0000 Committer: Ingo Molnar CommitDate: Wed, 6 Dec 2017 19:28:45 +0100 cpu/hotplug: Fix state name in takedown_cpu() comment CPUHP_AP_SCHED_MIGRATE_DYING doesn't exist, it looks like this was supposed to refer to CPUHP_AP_SCHED_STARTING's teardown callback, i.e. sched_cpu_dying(). Signed-off-by: Brendan Jackman Cc: Boris Ostrovsky Cc: Dietmar Eggemann Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Quentin Perret Cc: Sebastian Andrzej Siewior Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/20171206105911.28093-1-brendan.jackman@arm.com Signed-off-by: Ingo Molnar --- kernel/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/cpu.c b/kernel/cpu.c index 04892a8..2a885c5 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -780,8 +780,8 @@ static int takedown_cpu(unsigned int cpu) BUG_ON(cpu_online(cpu)); /* - * The CPUHP_AP_SCHED_MIGRATE_DYING callback will have removed all - * runnable tasks from the cpu, there's only the idle task left now + * The teardown callback for CPUHP_AP_SCHED_STARTING will have removed + * all runnable tasks from the CPU, there's only the idle task left now * that the migration thread is done doing the stop_machine thing. * * Wait for the stop thread to go away.