On 6/6/24 07:14, Richard Henderson wrote:
Split out host/bufferiszero.h.inc for x86, aarch64 and generic
in order to avoid an overlong ifdef ladder.

Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
  host/include/aarch64/host/bufferiszero.h.inc |  76 ++++++++
  host/include/generic/host/bufferiszero.h.inc |  10 +
  host/include/i386/host/bufferiszero.h.inc    | 124 ++++++++++++
  host/include/x86_64/host/bufferiszero.h.inc  |   1 +
  util/bufferiszero.c                          | 191 +------------------
  5 files changed, 212 insertions(+), 190 deletions(-)
  create mode 100644 host/include/aarch64/host/bufferiszero.h.inc
  create mode 100644 host/include/generic/host/bufferiszero.h.inc
  create mode 100644 host/include/i386/host/bufferiszero.h.inc
  create mode 100644 host/include/x86_64/host/bufferiszero.h.inc

Renaming the files as .c.inc:

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>


Reply via email to