aboutsummaryrefslogtreecommitdiffstats
path: root/main/qemu/qemu-170-ffsll.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-04-29 16:58:45 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2014-04-29 17:00:14 +0200
commit61a7a1b77a868e3b940c0b25e6c2b2a6c32caf20 (patch)
tree18280f2794e0bd731a92488c0ebf9ed77749f0ac /main/qemu/qemu-170-ffsll.patch
parent7dc7dfaf5ee97c22fdb1ce15f6702fb9c8c324cd (diff)
downloadaports-61a7a1b77a868e3b940c0b25e6c2b2a6c32caf20.tar.bz2
aports-61a7a1b77a868e3b940c0b25e6c2b2a6c32caf20.tar.xz
main/qemu: replace patches with the ones sent upstream
Patches sent upstream: http://lists.nongnu.org/archive/html/qemu-devel/2014-04/msg04773.html
Diffstat (limited to 'main/qemu/qemu-170-ffsll.patch')
-rw-r--r--main/qemu/qemu-170-ffsll.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/main/qemu/qemu-170-ffsll.patch b/main/qemu/qemu-170-ffsll.patch
deleted file mode 100644
index c5a66426b9..0000000000
--- a/main/qemu/qemu-170-ffsll.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- qemu-1.7.0.org/hw/virtio/vhost.c
-+++ qemu-1.7.0/hw/virtio/vhost.c
-@@ -22,6 +22,15 @@
- #include "exec/address-spaces.h"
- #include "hw/virtio/virtio-bus.h"
-
-+#ifndef HAVE_FFSLL
-+static int ffsll(long long i) {
-+ unsigned long long x = i & -i;
-+ if (x <= 0xffffffff) return ffs (i);
-+ else return 32 + ffs (i >> 32);
-+}
-+#endif
-+
-+
- static void vhost_dev_sync_region(struct vhost_dev *dev,
- MemoryRegionSection *section,
- uint64_t mfirst, uint64_t mlast,