On 9/1/21 2:58 PM, Thomas Huth wrote: > The PAGE_SIZE macro is causing trouble on Alpine Linux since it > clashes with a macro from a system header there. We already have > the TARGET_PAGE_SIZE, TARGET_PAGE_MASK and TARGET_PAGE_BITS macros > in QEMU anyway, so let's simply replace the PAGE_SIZE, PAGE_MASK > and PAGE_SHIFT macro with their TARGET_* counterparts. > > Resolves: https://gitlab.com/qemu-project/qemu/-/issues/572 > Signed-off-by: Thomas Huth <th...@redhat.com> > --- > hw/s390x/s390-pci-bus.c | 10 +++++----- > hw/s390x/s390-pci-inst.c | 8 ++++---- > hw/s390x/sclp.c | 2 +- > include/hw/s390x/s390-pci-bus.h | 5 +---- > 4 files changed, 11 insertions(+), 14 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com>