diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-13 17:17:14 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-13 17:17:14 +0200 |
commit | b448bbcdab09b70b4d03ea0bc9167878e7f054da (patch) | |
tree | 40ea72e4979ce176f6280b25368713122bee1b9c /target/linux/patches/2.6.30/mips-delay-fix.patch | |
parent | d804be5baee6590ff6e91d267c8cb9933ed7ac60 (diff) | |
parent | d2e5a673aa7637c990ca7307e831327eb67e3fe7 (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.patch | 11 |
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); |