Re: [patch -vmevent/core] mm, vmevent: vmevent_fd is conditional on CONFIG_VMEVENT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]