MIPS: MIPSsim: Fix build error if MSC01E_INT_BASE is undefined.
This fixes kernel.org bugzilla 13595, see http://bugzilla.kernel.org/show_bug.cgi?id=13595 Reported-by: dvice_null@yahoo.com Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
44eeab6741
commit
ab7f6f3010
1 changed files with 1 additions and 0 deletions
|
@ -91,6 +91,7 @@ unsigned __cpuinit get_c0_compare_int(void)
|
||||||
mips_cpu_timer_irq = MSC01E_INT_BASE + MSC01E_INT_CPUCTR;
|
mips_cpu_timer_irq = MSC01E_INT_BASE + MSC01E_INT_CPUCTR;
|
||||||
} else {
|
} else {
|
||||||
#endif
|
#endif
|
||||||
|
{
|
||||||
if (cpu_has_vint)
|
if (cpu_has_vint)
|
||||||
set_vi_handler(cp0_compare_irq, mips_timer_dispatch);
|
set_vi_handler(cp0_compare_irq, mips_timer_dispatch);
|
||||||
mips_cpu_timer_irq = MIPS_CPU_IRQ_BASE + cp0_compare_irq;
|
mips_cpu_timer_irq = MIPS_CPU_IRQ_BASE + cp0_compare_irq;
|
||||||
|
|
Loading…
Add table
Reference in a new issue