aboutsummaryrefslogtreecommitdiff
path: root/emulators/qemu/files/patch-dyngen.h
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu/files/patch-dyngen.h')
-rw-r--r--emulators/qemu/files/patch-dyngen.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/qemu/files/patch-dyngen.h b/emulators/qemu/files/patch-dyngen.h
new file mode 100644
index 000000000000..09ab311dfdf6
--- /dev/null
+++ b/emulators/qemu/files/patch-dyngen.h
@@ -0,0 +1,11 @@
+# 1.9
+Index: qemu/dyngen.h
+@@ -59,7 +59,7 @@
+ {
+ unsigned long p;
+
+- p = start & ~(MIN_CACHE_LINE_SIZE - 1);
++ start &= ~(MIN_CACHE_LINE_SIZE - 1);
+ stop = (stop + MIN_CACHE_LINE_SIZE - 1) & ~(MIN_CACHE_LINE_SIZE - 1);
+
+ for (p = start; p < stop; p += MIN_CACHE_LINE_SIZE) {