]> git.karo-electronics.de Git - karo-tx-linux.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)
committerJohn Crispin <blogic@openwrt.org>
Tue, 14 Jan 2014 11:48:23 +0000 (12:48 +0100)
commit9031825179f6484a65cd1d6ea3345487c740fd83
tree69699c93581da06acf631ab27247ee1f5702d44d
parent1fb8707aac765597f80a9a8857a420c083a0b197
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>
Acked-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