qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org
Subject: [Qemu-devel] [PATCH 1/2] bswap.h: export bswap_le
Date: Mon, 10 Mar 2014 21:43:21 +0200	[thread overview]
Message-ID: <1394480575-3698-1-git-send-email-mst@redhat.com> (raw)

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

             reply	other threads:[~2014-03-10 19:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-10 19:43 Michael S. Tsirkin [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1394480575-3698-1-git-send-email-mst@redhat.com \
    --to=mst@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).