[PATCH 11/16] arch: x86: kernel: Add prototype for smp_reboot_interrupt

From: Darshana Padmadas
Date: Wed Mar 04 2015 - 08:34:48 EST


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 <darshanapadmadas@xxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/