summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/patches-2.6.30/9996-string.h-fix.patch
blob: dad3fb4b3712554f7a130b1245287fd3dbd5e6bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/arch/rlx/include/asm/string.h	2013-07-05 11:57:03.546423601 +0300
+++ b/arch/rlx/include/asm/string.h	2013-07-05 11:37:00.962520944 +0300
@@ -90,7 +90,8 @@
 	"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)
+	: "memory");
 
   return __res;
 }
@@ -123,7 +124,8 @@
 	".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)
+	: "memory");
 
 	return __res;
 }