OSDN Git Service

MIPS: BCM47XX: fix position of cpu_wait disabling
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 14 Jan 2014 18:36:55 +0000 (19:36 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 24 Jan 2014 21:39:55 +0000 (22:39 +0100)
commit3c06b12b046e426200d016dbdb1e3e81ffb1c185
treeaa536fc2dd38c87d26d0276780013d6fc81c97bb
parentaf2418be63b4e994cfe4b625939d65b9afdfdf6c
MIPS: BCM47XX: fix position of cpu_wait disabling

The disabling of cpu_wait was done too early, before the detection was
done. This moves the code to a position where it actually works.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6352/
arch/mips/bcm47xx/setup.c