summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/patches-2.6.30/9996-string.h-fix.patch
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2013-05-17 20:40:24 +0300
committerRoman Yeryomin <roman@advem.lv>2013-05-17 20:40:24 +0300
commite6d87036412b952cb083eff2dc716aee97a771f2 (patch)
tree273dd3daaa85553832d3cc6d48276229dc7fbe09 /target/linux/realtek/patches-2.6.30/9996-string.h-fix.patch
parenta18fec42221baa52fff4c5ffd45ec8f32e3add36 (diff)
Move to rsdk 3.2.4. Compiles cleanly.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux/realtek/patches-2.6.30/9996-string.h-fix.patch')
-rw-r--r--target/linux/realtek/patches-2.6.30/9996-string.h-fix.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-2.6.30/9996-string.h-fix.patch b/target/linux/realtek/patches-2.6.30/9996-string.h-fix.patch
new file mode 100644
index 000000000..a525146c4
--- /dev/null
+++ b/target/linux/realtek/patches-2.6.30/9996-string.h-fix.patch
@@ -0,0 +1,20 @@
+--- a/arch/rlx/include/asm/string.h 2013-02-04 03:15:32.687233694 +0200
++++ b/arch/rlx/include/asm/string.h 2013-02-06 00:51:37.319166238 +0200
+@@ -90,7 +90,7 @@
+ "3:\t.set\tat\n\t"
+ ".set\treorder"
+ : "=r" (__cs), "=r" (__ct), "=r" (__res)
+- : "0" (__cs), "1" (__ct), "m" (*__cs), "m" (*__ct));
++ : "0" (__cs), "1" (__ct));
+
+ return __res;
+ }
+@@ -123,7 +123,7 @@
+ ".set\tat\n\t"
+ ".set\treorder"
+ : "=r" (__cs), "=r" (__ct), "=r" (__count), "=r" (__res)
+- : "0" (__cs), "1" (__ct), "2" (__count), "m" (*__cs), "m" (*__ct));
++ : "0" (__cs), "1" (__ct), "2" (__count));
+
+ return __res;
+ }