summaryrefslogtreecommitdiff
path: root/openwrt/package/lcd4linux/patches/110-ucdelay.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-01-20 03:19:35 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-01-20 03:19:35 +0000
commite9321ec04af868bf00bf9cebfb2020223e3a1b93 (patch)
treeb7b2ba73e007c5ebea1e27fec17bdc54fb173c83 /openwrt/package/lcd4linux/patches/110-ucdelay.patch
parent1a4f953582d87a97a097ec7f9e8f779e9f2ead64 (diff)
downloadmtk-20170518-e9321ec04af868bf00bf9cebfb2020223e3a1b93.zip
mtk-20170518-e9321ec04af868bf00bf9cebfb2020223e3a1b93.tar.gz
mtk-20170518-e9321ec04af868bf00bf9cebfb2020223e3a1b93.tar.bz2
sync lcd4linux with whiterussian
SVN-Revision: 3022
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 0000000..0908973
--- /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");
+ }
+
+