All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] Fix qdev 32-bit compilation
@ 2013-07-30 18:20 Richard Henderson
  2013-07-30 18:20 ` [Qemu-devel] [PATCH v2 1/2] qdev: Fix 32-bit compilation in print_size Richard Henderson
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Richard Henderson @ 2013-07-30 18:20 UTC (permalink / raw)
  To: qemu-devel; +Cc: vasilis.liaskovitis, imammedo, aliguori, afaerber

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-08-02 14:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-30 18:20 [Qemu-devel] [PATCH v2 0/2] Fix qdev 32-bit compilation Richard Henderson
2013-07-30 18:20 ` [Qemu-devel] [PATCH v2 1/2] qdev: Fix 32-bit compilation in print_size Richard Henderson
2013-07-31  7:46   ` Andreas Färber
2013-07-30 18:20 ` [Qemu-devel] [PATCH v2 2/2] qdev: Use clz " Richard Henderson
2013-08-02 12:34 ` [Qemu-devel] [PATCH v2 0/2] Fix qdev 32-bit compilation Anthony Liguori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.