qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v2 0/2] Fix qdev 32-bit compilation


From: Richard Henderson
Subject: [Qemu-devel] [PATCH v2 0/2] Fix qdev 32-bit compilation
Date: Tue, 30 Jul 2013 08:20:41 -1000

The patch e8cd45c78f53501e75bd455140da63d1b7ed3685 broke
compilation on 32-bit with a 40-bit shift of "long int".

The first patch is the trivial fix for that bug.

The second patch is an optional improvement that avoids
the division loop entirely.


r~

--
V2: Fixing erroneous email from mis-configured vm.


Richard Henderson (2):
  qdev: Fix 32-bit compilation in print_size
  qdev: Use clz in print_size

 hw/core/qdev-properties.c | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

-- 
1.8.3.1




reply via email to

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