From: Paul Burton Date: Mon, 7 Apr 2014 09:11:17 +0000 (+0100) Subject: MIPS: stub interrupt_init function X-Git-Tag: v2014.07-rc1~16^2~8 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=186d8159f662e8b4964dca3ff5c87f06cf290a82;p=u-boot MIPS: stub interrupt_init function interrupt_init is called unconditionally by the generic board code. Define a stub for it on MIPS like the enable & disable functions. Signed-off-by: Paul Burton --- diff --git a/arch/mips/cpu/mips32/interrupts.c b/arch/mips/cpu/mips32/interrupts.c index a7e2ed046a..275fcf5699 100644 --- a/arch/mips/cpu/mips32/interrupts.c +++ b/arch/mips/cpu/mips32/interrupts.c @@ -7,6 +7,11 @@ #include +int interrupt_init(void) +{ + return 0; +} + void enable_interrupts(void) { } diff --git a/arch/mips/cpu/mips64/interrupts.c b/arch/mips/cpu/mips64/interrupts.c index a7e2ed046a..275fcf5699 100644 --- a/arch/mips/cpu/mips64/interrupts.c +++ b/arch/mips/cpu/mips64/interrupts.c @@ -7,6 +7,11 @@ #include +int interrupt_init(void) +{ + return 0; +} + void enable_interrupts(void) { }