On Mon, 5 Mar 2012, David Rientjes wrote: > The vmevent_fd syscall is declared but not defined without CONFIG_VMEVENT, > so make it conditional to avoid the following link error: > > arch/x86/built-in.o:(.rodata+0xdb0): undefined reference to `sys_vmevent_fd' > > Signed-off-by: David Rientjes <rientjes@xxxxxxxxxx> > --- > kernel/sys_ni.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c > --- a/kernel/sys_ni.c > +++ b/kernel/sys_ni.c > @@ -191,6 +191,7 @@ cond_syscall(compat_sys_timerfd_settime); > cond_syscall(compat_sys_timerfd_gettime); > cond_syscall(sys_eventfd); > cond_syscall(sys_eventfd2); > +cond_syscall(sys_vmevent_fd); > > /* performance counters: */ > cond_syscall(sys_perf_event_open); Applied, thanks David! -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>