summaryrefslogtreecommitdiff
path: root/target/linux/patches/2.6.30/mips-delay-fix.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-06-12 20:24:12 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-06-12 20:24:12 +0200
commit9bb9e3d7d1d79551953a4dea287ffe34032049dc (patch)
tree17b434ec874a2f4e6fcd562c2c2f9413924f0cfe /target/linux/patches/2.6.30/mips-delay-fix.patch
parent80cf876adbd1a04a182e78c1741384e8bb644649 (diff)
parent18b38b0eb68cbcb8793efe989dcd8796a60288af (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'target/linux/patches/2.6.30/mips-delay-fix.patch')
-rw-r--r--target/linux/patches/2.6.30/mips-delay-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/patches/2.6.30/mips-delay-fix.patch b/target/linux/patches/2.6.30/mips-delay-fix.patch
new file mode 100644
index 000000000..bb99f1df6
--- /dev/null
+++ b/target/linux/patches/2.6.30/mips-delay-fix.patch
@@ -0,0 +1,11 @@
+diff -Nur linux-2.6.30.orig/arch/mips/lib/delay.c linux-2.6.30/arch/mips/lib/delay.c
+--- linux-2.6.30.orig/arch/mips/lib/delay.c 2009-06-10 05:05:27.000000000 +0200
++++ linux-2.6.30/arch/mips/lib/delay.c 2009-06-12 19:11:07.000000000 +0200
+@@ -51,6 +51,6 @@
+ {
+ unsigned int lpj = current_cpu_data.udelay_val;
+
+- __delay((us * 0x00000005 * HZ * lpj) >> 32);
++ __delay((ns * 0x00000005 * HZ * lpj) >> 32);
+ }
+ EXPORT_SYMBOL(__ndelay);