android_kernel_google_msm/arch/sparc
Will Deacon 9587d567d2 BACKPORT: ipc: add COMPAT_SHMLBA support
If the SHMLBA definition for a native task differs from the definition for
a compat task, the do_shmat() function would need to handle both.

This patch introduces COMPAT_SHMLBA, which is used by the compat shmat
syscall when calling the ipc code and allows architectures such as AArch64
(where the native SHMLBA is 64k but the compat (AArch32) definition is
16k) to provide the correct semantics for compat IPC system calls.

Change-Id: I0292f1fedabaa6cbbab843611aa76a8f50f47771
Cc: David S. Miller <davem@davemloft.net>
Cc: Chris Zankel <chris@zankel.net>
Cc: Arnd Bergmann <arnd@arndb.de>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>
2023-02-18 18:32:08 +01:00
..
boot Kbuild: centralize MKIMAGE and cmd_uimage definitions 2012-03-26 15:49:20 +02:00
configs
include/asm net: introduce SO_MAX_PACING_RATE 2020-11-30 19:31:32 +03:00
kernel BACKPORT: ipc: add COMPAT_SHMLBA support 2023-02-18 18:32:08 +01:00
lib sparc64: Add membar to Niagara2 memcpy code. 2014-08-14 08:42:37 +08:00
math-emu arch/sparc/math-emu/math_32.c: drop stray break operator 2014-08-14 08:42:37 +08:00
mm Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
oprofile
prom Disintegrate asm/system.h for Sparc 2012-03-28 18:30:03 +01:00
Kconfig sparc32: fix build failure for arch_jump_label_transform 2014-04-26 17:13:19 -07:00
Kconfig.debug
Makefile