lkml.org 
[lkml]   [2017]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] MIPS: MSP71xx: fix build failure
Date
The build of msp71xx_defconfig was failing with the error:
arch/mips/pmcs-msp71xx/msp_smp.c: In function 'msp_vsmp_int_init':
arch/mips/pmcs-msp71xx/msp_smp.c:72:2: error:
implicit declaration of function 'set_vi_handler';
did you mean 'irq_set_handler'? [-Werror=implicit-function-declaration]

The file 'msp_smp.c' was only missing a header file.

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
---

The build logs of next-20170915 is at:
https://travis-ci.org/sudipm-mukherjee/parport/jobs/275726387

arch/mips/pmcs-msp71xx/msp_smp.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/mips/pmcs-msp71xx/msp_smp.c b/arch/mips/pmcs-msp71xx/msp_smp.c
index ffa0f71..6441bd2 100644
--- a/arch/mips/pmcs-msp71xx/msp_smp.c
+++ b/arch/mips/pmcs-msp71xx/msp_smp.c
@@ -21,6 +21,7 @@
*/
#include <linux/smp.h>
#include <linux/interrupt.h>
+#include <asm/setup.h>

#ifdef CONFIG_MIPS_MT_SMP
#define MIPS_CPU_IPI_RESCHED_IRQ 0 /* SW int 0 for resched */
--
2.7.4
\
 
 \ /
  Last update: 2017-09-17 16:10    [W:0.026 / U:0.144 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site