From: Ralf Baechle Date: Sat, 28 Feb 2009 09:44:28 +0000 (+0000) Subject: MIPS: Outline udelay and fix a few issues. X-Git-Tag: v2.6.30~10^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5636919b5c909fee54a6ef5226475ecae012ad02;p=pandora-kernel.git 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 --- Reading git-diff-tree failed