summaryrefslogtreecommitdiffstats
path: root/openwrt/package/lcd4linux/patches/110-ucdelay.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-20 03:19:35 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-20 03:19:35 +0000
commit5211f861aeb667a8fc64f26b2d2d1c59f2300930 (patch)
treeae09b4ed503a7f1906b736fc0b2639b3d2b1c5b5 /openwrt/package/lcd4linux/patches/110-ucdelay.patch
parenta5375929b95a1bb780474bc184eba6dfa370cda5 (diff)
sync lcd4linux with whiterussian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3022 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/lcd4linux/patches/110-ucdelay.patch')
-rw-r--r--openwrt/package/lcd4linux/patches/110-ucdelay.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/openwrt/package/lcd4linux/patches/110-ucdelay.patch b/openwrt/package/lcd4linux/patches/110-ucdelay.patch
new file mode 100644
index 000000000..0908973b7
--- /dev/null
+++ b/openwrt/package/lcd4linux/patches/110-ucdelay.patch
@@ -0,0 +1,12 @@
+diff -urN lcd4linux.old/udelay.h lcd4linux.dev/udelay.h
+--- lcd4linux.old/udelay.h 2005-05-08 06:32:45.000000000 +0200
++++ lcd4linux.dev/udelay.h 2006-01-20 03:50:36.806897500 +0100
+@@ -76,7 +76,7 @@
+ /* REP NOP (PAUSE) is a good thing to insert into busy-wait loops. */
+ static inline void rep_nop(void)
+ {
+- __asm__ __volatile__("rep; nop");
++ __asm__ __volatile__("nop");
+ }
+
+