From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754977AbdLFK7H (ORCPT ); Wed, 6 Dec 2017 05:59:07 -0500 Received: from foss.arm.com ([217.140.101.70]:60990 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754735AbdLFK7G (ORCPT ); Wed, 6 Dec 2017 05:59:06 -0500 From: Brendan Jackman To: Thomas Gleixner , linux-kernel@vger.kernel.org Cc: Ingo Molnar , Peter Zijlstra , Sebastian Andrzej Siewior , Boris Ostrovsky , Dietmar Eggemann , Quentin Perret Subject: [PATCH] cpu/hotplug: Fix state name in takedown_cpu comment Date: Wed, 6 Dec 2017 10:59:11 +0000 Message-Id: <20171206105911.28093-1-brendan.jackman@arm.com> X-Mailer: git-send-email 2.14.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Sebastian Andrzej Siewior Cc: Boris Ostrovsky Cc: Dietmar Eggemann Cc: Quentin Perret --- kernel/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/cpu.c b/kernel/cpu.c index 04892a82f6ac..944c7efdf092 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. -- 2.14.1