forked from luck/tmp_suning_uos_patched
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 | ||
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 | ||
Makefile | ||
module.c | ||
perf_event.c | ||
process.c | ||
ptrace.c | ||
setup.c | ||
signal32.c | ||
signal.c | ||
smp.c | ||
stacktrace.c | ||
sys32.S | ||
sys_compat.c | ||
sys.c | ||
time.c | ||
traps.c | ||
vdso.c | ||
vmlinux.lds.S |