qemu-s390x
[Top][All Lists]
Advanced

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

Re: [PATCH 01/16] qemu/bswap: Undefine CPU_CONVERT() once done


From: Thomas Huth
Subject: Re: [PATCH 01/16] qemu/bswap: Undefine CPU_CONVERT() once done
Date: Mon, 7 Oct 2024 07:50:54 +0200
User-agent: Mozilla Thunderbird

On 04/10/2024 01.41, Philippe Mathieu-Daudé wrote:
Better undefined macros once we are done with them,
like we do few lines later with DO_STN_LDN_P().

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
  include/qemu/bswap.h | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/include/qemu/bswap.h b/include/qemu/bswap.h
index ad22910a5d1..b915835bead 100644
--- a/include/qemu/bswap.h
+++ b/include/qemu/bswap.h
@@ -140,6 +140,8 @@ CPU_CONVERT(le, 16, uint16_t)
  CPU_CONVERT(le, 32, uint32_t)
  CPU_CONVERT(le, 64, uint64_t)
+#undef CPU_CONVERT
+

Reviewed-by: Thomas Huth <thuth@redhat.com>




reply via email to

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