Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1733465 > unrolled thread

[PATCH] MIPS: MSP71xx: fix build failure

Started bySudip Mukherjee <sudipm.mukherjee@gmail.com>
First post2017-09-17 16:20 +0200
Last post2017-09-17 16:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] MIPS: MSP71xx: fix build failure Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2017-09-17 16:20 +0200

#1733465 — [PATCH] MIPS: MSP71xx: fix build failure

FromSudip Mukherjee <sudipm.mukherjee@gmail.com>
Date2017-09-17 16:20 +0200
Subject[PATCH] MIPS: MSP71xx: fix build failure
Message-ID<uqIAq-AU-11@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web