]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/s390x: Use s390_skeys_get|set() helper
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 13 Jun 2024 10:30:00 +0000 (12:30 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 19 Jun 2024 10:42:03 +0000 (12:42 +0200)
commit4860af2c4fc4632c180ba902758f6a7f66ed9ac1
treee8a48736052132a062ef4c44ea3987c3addf682d
parentb926895357ddf8199585d0f97055935abe90c3ae
target/s390x: Use s390_skeys_get|set() helper

Commit c9274b6bf0 ("target/s390x: start moving TCG-only code
to tcg/") moved mem_helper.c, but the trace-events file is
still in the parent directory, so is the generated trace.h.

Call the s390_skeys_get|set() helper, removing the need
for the trace event shared with the tcg/ sub-directory,
fixing the following build failure:

 In file included from ../target/s390x/tcg/mem_helper.c:33:
 ../target/s390x/tcg/trace.h:1:10: fatal error: 'trace/trace-target_s390x_tcg.h' file not found
 #include "trace/trace-target_s390x_tcg.h"

Reported-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20240613104415.9643-3-philmd@linaro.org>
target/s390x/mmu_helper.c
target/s390x/tcg/mem_helper.c
target/s390x/trace-events