Ralf Baechle 5636919b5c MIPS: Outline udelay and fix a few issues.
Outlining fixes the issue were on certain CPUs such as the R10000 family
the delay loop would need an extra cycle if it overlaps a cacheline
boundary.

The rewrite also fixes build errors with GCC 4.4 which was changed in
way incompatible with the kernel's inline assembly.

Relying on pure C for computation of the delay value removes the need for
explicit.  The price we pay is a slight slowdown of the computation - to
be fixed on another day.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2009-06-08 16:57:51 +01:00
..
2009-05-14 13:50:27 +01:00
2008-10-20 08:52:41 -07:00
2008-04-28 17:14:25 +01:00
2009-05-20 18:53:14 +01:00
2008-10-15 20:55:51 +02:00
2009-06-08 16:57:50 +01:00