]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2ae785c0703e854b427f8c7876ccaf5f16215588
tree16725b7ae8e046b3e040eca8e4db7e2f3572f951
parentb4eae1debcd435722e75196b0f3d3a753b7e85d4
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