]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: split compat syscall table out from native table
authorFiroz Khan <firoz.khan@linaro.org>
Mon, 17 Dec 2018 10:40:35 +0000 (16:10 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 21 Dec 2018 03:46:50 +0000 (14:46 +1100)
commitf3731e36355604fca3d7be03485cdba5411a5dc5
treeb61178f92da375be24c4d38941df6d7d0987978a
parentf921e709958e3d006cfe2bcd9c2846d50f792938
powerpc: split compat syscall table out from native table

PowerPC uses a syscall table with native and compat calls
interleaved, which is a slightly simpler way to define two
matching tables.

As we move to having the tables generated, that advantage
is no longer important, but the interleaved table gets in
the way of using the same scripts as on the other archit-
ectures.

Split out a new compat_sys_call_table symbol that contains
all the compat calls, and leave the main table for the nat-
ive calls, to more closely match the method we use every-
where else.

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Firoz Khan <firoz.khan@linaro.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/syscall.h
arch/powerpc/kernel/entry_64.S
arch/powerpc/kernel/systbl.S
arch/powerpc/kernel/vdso.c