Skip to content

Commit a11b763

Browse files
Firoz Khanmpe
authored andcommitted
powerpc: move macro definition from asm/systbl.h
Move the macro definition for compat_sys_sigsuspend from asm/systbl.h to the file which it is getting included. One of the patch in this patch series is generating uapi header and syscall table files. In order to come up with a common implimentation across all architecture, we need to do this change. This change will simplify the implementation of system call table generation script and help to come up a common implementation across all architecture. Signed-off-by: Firoz Khan <firoz.khan@linaro.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
1 parent 8a19eee commit a11b763

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

arch/powerpc/include/asm/systbl.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ SYSCALL_SPU(sgetmask)
7676
SYSCALL_SPU(ssetmask)
7777
SYSCALL_SPU(setreuid)
7878
SYSCALL_SPU(setregid)
79-
#define compat_sys_sigsuspend sys_sigsuspend
8079
SYS32ONLY(sigsuspend)
8180
SYSX(sys_ni_syscall,compat_sys_sigpending,sys_sigpending)
8281
SYSCALL_SPU(sethostname)

arch/powerpc/kernel/systbl.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,5 @@
4747
.globl sys_call_table
4848
sys_call_table:
4949

50+
#define compat_sys_sigsuspend sys_sigsuspend
5051
#include <asm/systbl.h>

0 commit comments

Comments
 (0)