]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: Fix build error for non-malta VSMP kernel
authorAnoop P A <anoop.pa@gmail.com>
Tue, 25 Jan 2011 13:57:26 +0000 (19:27 +0530)
committerJohn Crispin <blogic@openwrt.org>
Tue, 21 Aug 2012 17:15:16 +0000 (19:15 +0200)
commit476e9629c61a7620dabffea99f1dcc570b22245c
tree05dd4b0cd0eca56bde8525587f9835242e1a7eaa
parent893f983c123dfc9235fa148486f801cdd3a28d7d
MIPS: Fix build error for non-malta VSMP kernel

VSMP kernel build for non-malta platforms fails with following error

  LD      init/built-in.o
  LD      .tmp_vmlinux1
arch/mips/built-in.o: In function `vsmp_init_secondary':
smp-mt.c:(.cpuinit.text+0x23cc): undefined reference to `gic_present'
smp-mt.c:(.cpuinit.text+0x23d0): undefined reference to `gic_present'
make: *** [.tmp_vmlinux1] Error 1

gic_present variable is declared only if IRQ_GIC is selected.

Signed-off-by: Anoop P A <anoop.pa@gmail.com>
Patchwork: http://patchwork.linux-mips.org/patch/2039/
Signed-off-by: John Crispin <blogic@openwrt.org>
arch/mips/kernel/smp-mt.c