Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756934Ab2FDSap (ORCPT ); Mon, 4 Jun 2012 14:30:45 -0400 Received: from mga11.intel.com ([192.55.52.93]:2189 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755871Ab2FDS35 (ORCPT ); Mon, 4 Jun 2012 14:29:57 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="scan'208";a="160493153" From: "Fenghua Yu" To: "Ingo Molnar" , "Thomas Gleixner" , "H Peter Anvin" , "Suresh B Siddha" , "Tony Luck" , "Asit K Mallick" , "Arjan Dan De Ven" Cc: "linux-kernel" , "x86" , "linux-pm" , "Fenghua Yu" Subject: [PATCH 4/6] x86/apic_flat_64.c: Wakeup function in apic calls mwait or nmi method Date: Mon, 4 Jun 2012 11:17:53 -0700 Message-Id: <1338833876-29721-5-git-send-email-fenghua.yu@intel.com> X-Mailer: git-send-email 1.7.2 In-Reply-To: <1338833876-29721-1-git-send-email-fenghua.yu@intel.com> References: <1338833876-29721-1-git-send-email-fenghua.yu@intel.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1470 Lines: 38 From: Fenghua Yu The wakeup function wakeup_secondary_cpu in apic_flat and apic_physflat call wakeup_secondary_cpu_via_soft(). Signed-off-by: Fenghua Yu --- arch/x86/kernel/apic/apic_flat_64.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/apic/apic_flat_64.c b/arch/x86/kernel/apic/apic_flat_64.c index 0e881c4..dd79ab7 100644 --- a/arch/x86/kernel/apic/apic_flat_64.c +++ b/arch/x86/kernel/apic/apic_flat_64.c @@ -219,6 +219,7 @@ static struct apic apic_flat = { .send_IPI_all = flat_send_IPI_all, .send_IPI_self = apic_send_IPI_self, + .wakeup_secondary_cpu = wakeup_secondary_cpu_via_soft, .trampoline_phys_low = DEFAULT_TRAMPOLINE_PHYS_LOW, .trampoline_phys_high = DEFAULT_TRAMPOLINE_PHYS_HIGH, .wait_for_init_deassert = NULL, @@ -379,6 +380,7 @@ static struct apic apic_physflat = { .send_IPI_all = physflat_send_IPI_all, .send_IPI_self = apic_send_IPI_self, + .wakeup_secondary_cpu = wakeup_secondary_cpu_via_soft, .trampoline_phys_low = DEFAULT_TRAMPOLINE_PHYS_LOW, .trampoline_phys_high = DEFAULT_TRAMPOLINE_PHYS_HIGH, .wait_for_init_deassert = NULL, -- 1.6.0.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/