powerpc: remove nargs from __SYSCALL

The __SYSCALL macro's arguments are system call number,
system call entry name and number of arguments for the
system call.

Argument- nargs in __SYSCALL(nr, entry, nargs) is neither
calculated nor used anywhere. So it would be better to
keep the implementaion as  __SYSCALL(nr, entry). This will
unifies the implementation with some other architetures
too.

Signed-off-by: Firoz Khan <firoz.khan@linaro.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
Firoz Khan
2019-01-02 20:32:03 +05:30
committed by Michael Ellerman
parent 2de04718ec
commit 6b1200facc
3 changed files with 6 additions and 6 deletions

View File

@@ -34,7 +34,7 @@
*/
static void *spu_syscall_table[] = {
#define __SYSCALL(nr, entry, nargs) entry,
#define __SYSCALL(nr, entry) entry,
#include <asm/syscall_table_spu.h>
#undef __SYSCALL
};