qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v1 0/2] Fix for FreeBSD compile on i386


From: Alex Bennée
Subject: [Qemu-devel] [PATCH v1 0/2] Fix for FreeBSD compile on i386
Date: Mon, 21 Mar 2016 16:23:04 +0000

The compiler of FreeBSD/i386 complains when trying to make a 64 bit
atomic load on a 32 bit host. This fixes the compile failure and adds
some compile time guards to the atomic functions.

If wanted I can expand the compile time guards to include the
__sync_and_fetch* intrinsics version as well.

Alex Bennée (2):
  cpus: don't use atomic_read for vm_clock_warp_start
  include/qemu/atomic: add compile time asserts

 cpus.c                | 12 ++++-------
 include/qemu/atomic.h | 58 ++++++++++++++++++++++++++++++---------------------
 2 files changed, 38 insertions(+), 32 deletions(-)

-- 
2.7.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]