aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2009-02-11 13:04:38 -0800
committerLinus Torvalds <[email protected]>2009-02-11 14:25:36 -0800
commit6c5979631b4b03c9288776562c18036765e398c1 (patch)
tree00b7546bc54658b3d1d166b75eb1e498b3ee8475 /net/lapb/lapb_subr.c
parent0e4a9b59282914fe057ab17027f55123964bc2e2 (diff)
syscall define: fix uml compile bug
With the new system call defines we get this on uml: arch/um/sys-i386/built-in.o: In function `sys_call_table': (.rodata+0x308): undefined reference to `sys_sigprocmask' Reason for this is that uml passes the preprocessor option -Dsigprocmask=kernel_sigprocmask to gcc when compiling the kernel. This causes SYSCALL_DEFINE3(sigprocmask, ...) to be expanded to SYSCALL_DEFINEx(3, kernel_sigprocmask, ...) and finally to a system call named sys_kernel_sigprocmask. However sys_sigprocmask is missing because of this. To avoid macro expansion for the system call name just concatenate the name at first define instead of carrying it through severel levels. This was pointed out by Al Viro. Signed-off-by: Heiko Carstens <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Al Viro <[email protected]> Reviewed-by: WANG Cong <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions