[patch] signalfd: fix undefined reference to `compat_sys_signalfd4'

From: Ingo Molnar
Date: Fri Jul 25 2008 - 07:06:55 EST



* Ulrich Drepper <drepper@xxxxxxxxxx> wrote:

> This patch adds the new signalfd4 syscall. It extends the old
> signalfd syscall by one parameter which is meant to hold a flag value.
> In this patch the only flag support is SFD_CLOEXEC which causes the
> close-on-exec flag for the returned file descriptor to be set.

this patch causes the following build failure on !CONFIG_SIGNALFD:

arch/x86/ia32/built-in.o: In function `ia32_sys_call_table':
(.rodata+0xa38): undefined reference to `compat_sys_signalfd4'
make: *** [.tmp_vmlinux1] Error 1

tested fix below.

Ingo

-------------->