signalfd: fix undefined reference to `compat_sys_signalfd4' when !CONFIG_SIGNALFD
authorIngo Molnar <mingo@elte.hu>
Fri, 25 Jul 2008 11:02:37 +0000 (13:02 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 18:35:41 +0000 (11:35 -0700)
fix:

arch/x86/ia32/built-in.o: In function `ia32_sys_call_table':
(.rodata+0xa38): undefined reference to `compat_sys_signalfd4'

on !CONFIG_SIGNALFD.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/sys_ni.c

index 55eca15..08d6e1b 100644 (file)
@@ -160,6 +160,7 @@ cond_syscall(sys_ioprio_get);
 cond_syscall(sys_signalfd);
 cond_syscall(sys_signalfd4);
 cond_syscall(compat_sys_signalfd);
+cond_syscall(compat_sys_signalfd4);
 cond_syscall(sys_timerfd_create);
 cond_syscall(sys_timerfd_settime);
 cond_syscall(sys_timerfd_gettime);