]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Fix delay loops which may be removed by GCC.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 27 Nov 2015 18:17:01 +0000 (19:17 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 27 Nov 2015 18:20:37 +0000 (19:20 +0100)
commit3affe9abe987faffdbc51e6a8cd5eb08f33291e6
tree7e17dcbb79a0a12dc06eae6d1bc3a5a3d8fa58ce
parent1d37f22c117701709b102005124f4747fab5d517
MIPS: Fix delay loops which may be removed by GCC.

GCC 4.1 and newer remove empty loops.  This becomes a problem when delay
loops get removed.  Fixed by rewriting to user the proper Linux interface
for such delays.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Reported-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Acked-by: John Crispin <blogic@openwrt.org>
arch/mips/pci/pci-rt2880.c
arch/mips/pmcs-msp71xx/msp_setup.c
arch/mips/sni/reset.c