]> asedeno.scripts.mit.edu Git - linux.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)
commitfbf508da744053ff289777d6dd6e11ca8682be49
treeb61178f92da375be24c4d38941df6d7d0987978a
parenta11b763d617070a88267e2102e975b2cfc99b5a7
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