powerpc/vdso: Add missing includes and clean vdso_setup_syscall_map()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Sun, 27 Sep 2020 09:16:19 +0000 (09:16 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 3 Dec 2020 14:01:15 +0000 (01:01 +1100)
commitbc9d5bfc4d23fb3580e7da360f2c9bd878dda9b2
tree4d2df97ed9f7bd8d9e58a75e23ef99679deed22f
parent7fe2de246e21f01212a8923fbabb4ac84c944d4a
powerpc/vdso: Add missing includes and clean vdso_setup_syscall_map()

Instead of including extern references locally in
vdso_setup_syscall_map(), add the missing headers.

sys_ni_syscall() being a function, cast its address to
an unsigned long instead of declaring it as a fake
unsigned long object.

At the same time, remove a comment which paraphrases the
function name.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/b4afedce748ed2858299ceab5ae29b52109263ef.1601197618.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/vdso.c