qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 1/2] bswap.h: export bswap_le
@ 2014-03-10 19:43 Michael S. Tsirkin
  2014-03-10 19:43 ` [Qemu-devel] [PATCH 2/2] acpi-build: don't access unaligned addresses Michael S. Tsirkin
  2014-03-12 22:21 ` [Qemu-devel] [PATCH 1/2] bswap.h: export bswap_le Richard Henderson
  0 siblings, 2 replies; 7+ messages in thread
From: Michael S. Tsirkin @ 2014-03-10 19:43 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell

it's a handy API for cases where we want to
get size in bits as a parameter.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 include/qemu/bswap.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/include/qemu/bswap.h b/include/qemu/bswap.h
index 0cb7c05..4489ad9 100644
--- a/include/qemu/bswap.h
+++ b/include/qemu/bswap.h
@@ -423,9 +423,4 @@ static inline unsigned long leul_to_cpu(unsigned long v)
 #endif
 }
 
-#undef le_bswap
-#undef be_bswap
-#undef le_bswaps
-#undef be_bswaps
-
 #endif /* BSWAP_H */
-- 
MST

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

end of thread, other threads:[~2014-03-13 13:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-10 19:43 [Qemu-devel] [PATCH 1/2] bswap.h: export bswap_le Michael S. Tsirkin
2014-03-10 19:43 ` [Qemu-devel] [PATCH 2/2] acpi-build: don't access unaligned addresses Michael S. Tsirkin
2014-03-12 22:24   ` Richard Henderson
2014-03-12 22:25   ` [Qemu-devel] [PATCH] hw/i386: Use unaligned store functions building acpi tables Richard Henderson
2014-03-12 23:26     ` Peter Maydell
2014-03-13 13:30       ` Richard Henderson
2014-03-12 22:21 ` [Qemu-devel] [PATCH 1/2] bswap.h: export bswap_le Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).