Skip to content
Snippets Groups Projects
Commit 5636919b authored by Ralf Baechle's avatar Ralf Baechle
Browse files

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: default avatarRalf Baechle <ralf@linux-mips.org>
parent 3a553147
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment