powerpc/64: remove support for kernel-mode syscalls
authorNicholas Piggin <npiggin@gmail.com>
Tue, 27 Aug 2019 03:30:07 +0000 (13:30 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 28 Aug 2019 13:19:34 +0000 (23:19 +1000)
commit555e28179d37e431e97d78d106fc917bec2c6f93
tree16725b7ae8e046b3e040eca8e4db7e2f3572f951
parentfacd04a904ff6cdc6ee85d6e85d500f478a1bec4
powerpc/64: remove support for kernel-mode syscalls

There is support for the kernel to execute the 'sc 0' instruction and
make a system call to itself. This is a relic that is unused in the
tree, therefore untested. It's also highly questionable for modules to
be doing this.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190827033010.28090-3-npiggin@gmail.com
arch/powerpc/kernel/entry_64.S
arch/powerpc/kernel/exceptions-64s.S