]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: BMIPS: change compile time checks to runtime checks
authorJonas Gorski <jogo@openwrt.org>
Wed, 18 Dec 2013 13:12:01 +0000 (14:12 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 22 Jan 2014 19:18:51 +0000 (20:18 +0100)
commitc129239977c35636885f661ee80a0e3d0f8b3ff7
treedb0e6f531d656d5dd71174ce7cf4012e5eebb3a4
parentbf3935312f6070a77468eacc6472e9426b2a2dad
MIPS: BMIPS: change compile time checks to runtime checks

Allow building for all bmips cpus at the same time by changing ifdefs
to checks for the cpu type, or adding appropriate checks to the
assembly.

Since BMIPS43XX and BMIPS5000 require different IPI implementations,
split the SMP ops into one for each, so the runtime overhead is only
at registration time for them.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6241/
arch/mips/bcm63xx/prom.c
arch/mips/include/asm/bmips.h
arch/mips/kernel/bmips_vec.S
arch/mips/kernel/smp-bmips.c