mirror of https://gitee.com/openkylin/linux.git
0ad50c3896
This function is used by sparc, powerpc tile and arm64 for compat support. The patch adds a generic implementation with a wrapper for PowerPC to do the u32->int sign extension. The reason for a single patch covering powerpc, tile, sparc and arm64 is to keep it bisectable, otherwise kernel building may fail with mismatched function declarations. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Chris Metcalf <cmetcalf@tilera.com> [for tile] Acked-by: David S. Miller <davem@davemloft.net> Acked-by: Arnd Bergmann <arnd@arndb.de> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
vdso | ||
.gitignore | ||
Makefile | ||
arm64ksyms.c | ||
asm-offsets.c | ||
cputable.c | ||
debug-monitors.c | ||
entry-fpsimd.S | ||
entry.S | ||
fpsimd.c | ||
head.S | ||
hw_breakpoint.c | ||
hyp-stub.S | ||
io.c | ||
irq.c | ||
kuser32.S | ||
module.c | ||
perf_event.c | ||
process.c | ||
ptrace.c | ||
setup.c | ||
signal.c | ||
signal32.c | ||
smp.c | ||
stacktrace.c | ||
sys.c | ||
sys32.S | ||
sys_compat.c | ||
time.c | ||
traps.c | ||
vdso.c | ||
vmlinux.lds.S |