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-13 17:17:14 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-06-13 17:17:14 +0200
commitb448bbcdab09b70b4d03ea0bc9167878e7f054da (patch)
tree40ea72e4979ce176f6280b25368713122bee1b9c /target/linux/patches/2.6.30/mips-delay-fix.patch
parentd804be5baee6590ff6e91d267c8cb9933ed7ac60 (diff)
parentd2e5a673aa7637c990ca7307e831327eb67e3fe7 (diff)
Merge branch 'master' of 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);