diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-04-29 16:58:45 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-04-29 17:00:14 +0200 |
commit | 61a7a1b77a868e3b940c0b25e6c2b2a6c32caf20 (patch) | |
tree | 18280f2794e0bd731a92488c0ebf9ed77749f0ac /main/qemu/qemu-170-ffsl.patch | |
parent | 7dc7dfaf5ee97c22fdb1ce15f6702fb9c8c324cd (diff) | |
download | aports-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-ffsl.patch')
-rw-r--r-- | main/qemu/qemu-170-ffsl.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/main/qemu/qemu-170-ffsl.patch b/main/qemu/qemu-170-ffsl.patch deleted file mode 100644 index 5da3d07eef..0000000000 --- a/main/qemu/qemu-170-ffsl.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- qemu-1.7.0.org/kvm-all.c -+++ qemu-1.7.0/kvm-all.c -@@ -374,6 +374,19 @@ - return 0; - } - -+#ifndef HAVE_FFSL -+#include <limits.h> -+#if ULONG_MAX == UINT_MAX -+#define ffsl(X) ffs(X) -+#else -+static int ffsl(long i) { -+ unsigned long x = i & -i; -+ if (x <= 0xffffffff) return ffs (i); -+ else return 32 + ffs (i >> 32); -+} -+#endif -+#endif -+ - /* get kvm's dirty pages bitmap and update qemu's */ - static int kvm_get_dirty_pages_log_range(MemoryRegionSection *section, - unsigned long *bitmap) |