[PATCH] hppa: Drop old parisc-specific MADV_* constants

Florian Weimer fweimer@redhat.com
Fri Feb 10 10:18:07 GMT 2023


* Helge Deller via Libc-alpha:

> The Linux kernel upstream commit 71bdea6f798b ("parisc: Align parisc
> MADV_XXX constants with all other architectures") dropped the
> parisc-specific MADV_* values in favour of the same constants as
> other architectures. In the same commit a wrapper was added which
> translates the old values to the standard MADV_* values to avoid
> breakage of existing programs.
> This upstream patch has been downported to all stable kernel trees as
> well.

What about qemu-user?  Maybe it has always worked?

> This patch now drops the parisc specific constants from glibc to
> allow newly compliled programs to use the standard MADV_* constants.

I appreciate the simplification, but I think this needs a NEWS file
update, spelling out the required kernel versions on hppa if the madvise
function is used.

Thanks,
Florian



More information about the Libc-alpha mailing list