summaryrefslogtreecommitdiff
path: root/system/memtest86+/patches/asm-inline-fix.diff
diff options
context:
space:
mode:
Diffstat (limited to 'system/memtest86+/patches/asm-inline-fix.diff')
-rw-r--r--system/memtest86+/patches/asm-inline-fix.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/memtest86+/patches/asm-inline-fix.diff b/system/memtest86+/patches/asm-inline-fix.diff
new file mode 100644
index 0000000000..049c17af86
--- /dev/null
+++ b/system/memtest86+/patches/asm-inline-fix.diff
@@ -0,0 +1,11 @@
+--- memtest86+-4.20/test.c.orig 2011-01-23 19:11:04.000000000 +0100
++++ memtest86+-4.20/test.c 2012-10-05 14:57:19.000000000 +0200
+@@ -313,7 +313,7 @@ void movinvr()
+ "jb L200\n\t"
+ : "=D" (p)
+ : "D" (p), "b" (pe)
+- : "eax", "edx"
++ : "eax", "ecx", "edx"
+ );
+
+ do_tick();