Re: [PATCH] s390x: Replace PAGE_SIZE, PAGE_SHIFT and PAGE_MASK

2021-09-01 Thread Halil Pasic
On Wed, 1 Sep 2021 14:58:00 +0200 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

Re: [PATCH] s390x: Replace PAGE_SIZE, PAGE_SHIFT and PAGE_MASK

2021-09-01 Thread Philippe Mathieu-Daudé
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, PA

Re: [PATCH] s390x: Replace PAGE_SIZE, PAGE_SHIFT and PAGE_MASK

2021-09-01 Thread Eric Farman
On Wed, 2021-09-01 at 14:58 +0200, 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 t

Re: [PATCH] s390x: Replace PAGE_SIZE, PAGE_SHIFT and PAGE_MASK

2021-09-01 Thread Matthew Rosato
On 9/1/21 8:58 AM, 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_MAS

Re: [PATCH] s390x: Replace PAGE_SIZE, PAGE_SHIFT and PAGE_MASK

2021-09-01 Thread David Hildenbrand
On 01.09.21 14:58, 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_MAS

[PATCH] s390x: Replace PAGE_SIZE, PAGE_SHIFT and PAGE_MASK

2021-09-01 Thread Thomas Huth
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