WSL2-Linux-Kernel/arch/xtensa
Will Deacon 079a96ae38 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.

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>
2012-07-30 17:25:20 -07:00
..
boot xtensa: change to new flag variable 2011-03-17 14:02:57 +01:00
configs tokenring: delete all remaining driver support 2012-05-15 20:23:16 -04:00
include/asm fixups for signal breakage 2012-06-04 17:47:34 -04:00
kernel ipc: add COMPAT_SHMLBA support 2012-07-30 17:25:20 -07:00
lib
mm xtensa/mm/fault.c: port OOM changes to do_page_fault 2012-07-30 17:25:11 -07:00
platforms TTY: remove serialP.h inclusion from some files 2012-03-08 11:47:02 -08:00
variants xtensa: Change mail addresses of Hannes Weiner and Oskar Schirmer 2012-05-17 22:47:41 +02:00
Kconfig init_task: Replace CONFIG_HAVE_GENERIC_INIT_TASK 2012-05-05 13:00:46 +02:00
Kconfig.debug
Makefile xtensa: use "test -e" instead of bashism "test -a" 2012-06-20 14:39:35 -07:00