From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758248AbbCDNep (ORCPT ); Wed, 4 Mar 2015 08:34:45 -0500 Received: from mail-pd0-f176.google.com ([209.85.192.176]:35927 "EHLO mail-pd0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755904AbbCDNen (ORCPT ); Wed, 4 Mar 2015 08:34:43 -0500 From: Darshana Padmadas To: linux-kernel@vger.kernel.org Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, josh@joshtriplett.org, Darshana Padmadas Subject: [PATCH 11/16] arch: x86: kernel: Add prototype for smp_reboot_interrupt Date: Wed, 4 Mar 2015 19:02:13 +0530 Message-Id: <64e69e215a825e738d24fcb97ae15c464e4d985b.1425473428.git.darshanapadmadas@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org smp.c defines smp_reboot_interrupt used in this file and in some assembly, so add a prototype for the same in smp.c This eliminates the following warning: arch/x86/kernel/smp.c:171:27: warning: no previous prototype for ‘smp_reboot_interrupt’ [-Wmissing-prototypes] Signed-off-by: Darshana Padmadas --- arch/x86/kernel/smp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/kernel/smp.c b/arch/x86/kernel/smp.c index be8e1bd..07e8dec 100644 --- a/arch/x86/kernel/smp.c +++ b/arch/x86/kernel/smp.c @@ -168,6 +168,8 @@ static int smp_stop_nmi_callback(unsigned int val, struct pt_regs *regs) * this function calls the 'stop' function on all other CPUs in the system. */ +asmlinkage __visible void smp_reboot_interrupt(void); + asmlinkage __visible void smp_reboot_interrupt(void) { ack_APIC_irq(); -- 1.9.1