From 79ea63f0053904401021178d55dd4c364eeec131 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sat, 25 Feb 2023 21:59:24 +0000 Subject: hppa: Drop old parisc-specific MADV_* constants 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. This patch now drops the parisc specific constants from glibc to allow newly compliled programs to use the standard MADV_* constants. v2: Added NEWS section, based on feedback from Florian Weimer Signed-off-by: Helge Deller --- NEWS | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 080a2060d4..6825780a7b 100644 --- a/NEWS +++ b/NEWS @@ -18,7 +18,12 @@ Major new features: Deprecated and removed features, and other changes affecting compatibility: - [Add deprecations, removals and changes affecting compatibility here] +* In the Linux kernel for the hppa/parisc architecture some of the + MADV_XXX constants were changed to have the same values as the other + architectures. New programs compiled with this glibc version and which + use the madvise call will require at least Linux kernel version 6.2, + alternatively stable kernels from versions 6.1.6, 5.15.87, 5.10.163, + 5.4.228, 4.19.270 or 4.14.303. Changes to build and runtime requirements: -- cgit 1.4.1