android_kernel_xiaomi_sm8350/arch/parisc
Helge Deller 320dbbd86f parisc: Align parisc MADV_XXX constants with all other architectures
commit 71bdea6f798b425bc0003780b13e3fdecb16a010 upstream.

Adjust some MADV_XXX constants to be in sync what their values are on
all other platforms. There is currently no reason to have an own
numbering on parisc, but it requires workarounds in many userspace
sources (e.g. glibc, qemu, ...) - which are often forgotten and thus
introduce bugs and different behaviour on parisc.

A wrapper avoids an ABI breakage for existing userspace applications by
translating any old values to the new ones, so this change allows us to
move over all programs to the new ABI over time.

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-18 11:42:00 +01:00
..
boot
configs
include parisc: Align parisc MADV_XXX constants with all other architectures 2023-01-18 11:42:00 +01:00
kernel parisc: Align parisc MADV_XXX constants with all other architectures 2023-01-18 11:42:00 +01:00
lib
math-emu
mm
oprofile
defpalo.conf
install.sh
Kconfig parisc: Enable ARCH_HAS_STRICT_MODULE_RWX 2022-06-29 08:58:48 +02:00
Kconfig.debug
Makefile
nm