From patchwork Tue Jul 31 04:44:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Feng Tang X-Patchwork-Id: 1257161 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 9DF2A3FC1A for ; Tue, 31 Jul 2012 04:49:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751581Ab2GaEtl (ORCPT ); Tue, 31 Jul 2012 00:49:41 -0400 Received: from mga09.intel.com ([134.134.136.24]:51338 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751282Ab2GaEtl (ORCPT ); Tue, 31 Jul 2012 00:49:41 -0400 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 30 Jul 2012 21:49:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.67,352,1309762800"; d="scan'208";a="173432441" Received: from feng-i7.sh.intel.com ([10.239.14.125]) by orsmga001.jf.intel.com with ESMTP; 30 Jul 2012 21:49:39 -0700 From: Feng Tang To: len.brown@intel.com, linux-acpi@vger.kernel.org Cc: linux-kernel@vger.kernel.org, paulmck@linux.vnet.ibm.com, Feng Tang , Thomas Renninger , Deepthi Dharwar Subject: [PATCH v2] ACPI processor: Fix a typo error in commit 99b725084 Date: Tue, 31 Jul 2012 12:44:43 +0800 Message-Id: <1343709883-16801-1-git-send-email-feng.tang@intel.com> X-Mailer: git-send-email 1.7.1 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org In commit 99b725084 "ACPI processor hotplug: Delay acpi_processor_start() call for hotplugged cores", acpi_processor_hotplug(pr) was wrongly replaced by acpi_processor_cst_has_changed() inside the acpi_cpu_soft_notify(). This patch will restore it back, which also fixes a tick_broadcast_mask regression: https://lkml.org/lkml/2012/7/30/169 [Resend to ACPI mail list and Cc stable kernel] Signed-off-by: Feng Tang Cc: Thomas Renninger Cc: Deepthi Dharwar Cc: # 3.3+ Reviewed-by: Rafael J. Wysocki Reviewed-by: Deepthi Dharwar --- drivers/acpi/processor_driver.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/acpi/processor_driver.c b/drivers/acpi/processor_driver.c index ff8e04f..bfc31cb 100644 --- a/drivers/acpi/processor_driver.c +++ b/drivers/acpi/processor_driver.c @@ -437,7 +437,7 @@ static int acpi_cpu_soft_notify(struct notifier_block *nfb, /* Normal CPU soft online event */ } else { acpi_processor_ppc_has_changed(pr, 0); - acpi_processor_cst_has_changed(pr); + acpi_processor_hotplug(pr); acpi_processor_reevaluate_tstate(pr, action); acpi_processor_tstate_has_changed(pr); }