commit | c861519fcf95b2d46cb4275903423b43ae150a40 | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Fri Nov 27 19:17:01 2015 +0100 |
committer | Ralf Baechle <ralf@linux-mips.org> | Fri Nov 27 19:20:37 2015 +0100 |
tree | 7e17dcbb79a0a12dc06eae6d1bc3a5a3d8fa58ce | |
parent | 1ec218373b8ebda821aec00bb156a9c94fad9cd4 [diff] |
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>