| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH] MIPS: SMTC: fix implicit declaration of set_vi_handler |
| From: | Florian Fainelli <florian@openwrt.org> |
| Date: | Fri, 8 Feb 2013 11:45:14 +0100 |
| Cc: | ralf@linux-mips.org, blogic@openwrt.org, Florian Fainelli <florian@openwrt.org> |
| List-archive: | <http://www.linux-mips.org/archives/linux-mips/> |
| List-help: | <mailto:ecartis@linux-mips.org?Subject=help> |
| List-id: | linux-mips <linux-mips.eddie.linux-mips.org> |
| List-owner: | <mailto:ralf@linux-mips.org> |
| List-post: | <mailto:linux-mips@linux-mips.org> |
| List-software: | Ecartis version 1.0.0 |
| List-subscribe: | <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips> |
| List-unsubscribe: | <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips> |
| Sender: | linux-mips-bounce@linux-mips.org |
This patch fixes the following implicit declaration while building with MIPS SMTC support enabled: arch/mips/kernel/smtc.c: In function 'setup_cross_vpe_interrupts': arch/mips/kernel/smtc.c:1205:2: error: implicit declaration of function 'set_vi_handler' [-Werror=implicit-function-declaration] cc1: all warnings being treated as errors Signed-off-by: Florian Fainelli <florian@openwrt.org> --- Ralf, John, This is applicable to both mips-for-linux-next and master. arch/mips/kernel/smtc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/kernel/smtc.c b/arch/mips/kernel/smtc.c index 1c152a9..7186222 100644 --- a/arch/mips/kernel/smtc.c +++ b/arch/mips/kernel/smtc.c @@ -41,6 +41,7 @@ #include <asm/addrspace.h> #include <asm/smtc.h> #include <asm/smtc_proc.h> +#include <asm/setup.h> /* * SMTC Kernel needs to manipulate low-level CPU interrupt mask -- 1.7.10.4 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH v4 0/5] watchdog: bcm47xx_wdt.c: add support for SoCs with PMU, Wim Van Sebroeck |
|---|---|
| Next by Date: | Re: [PATCH] MIPS: SMTC: fix implicit declaration of set_vi_handler, Florian Fainelli |
| Previous by Thread: | Re: [PATCH v4 0/5] watchdog: bcm47xx_wdt.c: add support for SoCs with PMU, Wim Van Sebroeck |
| Next by Thread: | Re: [PATCH] MIPS: SMTC: fix implicit declaration of set_vi_handler, Florian Fainelli |
| Indexes: | [Date] [Thread] [Top] [All Lists] |