Messages in this thread Patch in this message | | | From | Darshana Padmadas <> | Subject | [PATCH 11/16] arch: x86: kernel: Add prototype for smp_reboot_interrupt | Date | Wed, 4 Mar 2015 19:02:13 +0530 |
| |
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@gmail.com> --- 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
| |