]> git.pld-linux.org Git - packages/qemu.git/blobdiff - x32.patch
- up to 2.9.0
[packages/qemu.git] / x32.patch
index 2efe351a490260cedccfe7e68210df724a6d0270..beee3deda90b63a5e603ce6b214a453448a5cda7 100644 (file)
--- a/x32.patch
+++ b/x32.patch
          "$softmmu" = yes ; then
    roms="optionrom"
 
+--- qemu-2.6.0/include/qemu/atomic.h~  2016-07-17 18:37:57.000000000 +0200
++++ qemu-2.6.0/include/qemu/atomic.h   2016-07-17 18:38:33.485893530 +0200
+@@ -20,7 +20,7 @@
+ /* Compiler barrier */
+ #define barrier()   ({ asm volatile("" ::: "memory"); (void)0; })
+-#ifdef __ATOMIC_RELAXED
++#if defined(__ATOMIC_RELAXED) && !defined(__ILP32__)
+ /* For C11 atomic ops */
+ /* Manual memory barriers
This page took 0.030929 seconds and 4 git commands to generate.