]> 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)
commitbcc2beb84c6b284aa7c70ff494ef96a235c368b9
treeb61178f92da375be24c4d38941df6d7d0987978a
parent1543cfab6b79f8afd98bd9a8cb23c546cee141d1
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