* [patch -vmevent/core] mm, vmevent: vmevent_fd is conditional on CONFIG_VMEVENT
@ 2012-03-06 7:07 David Rientjes
2012-03-06 7:25 ` Pekka Enberg
0 siblings, 1 reply; 2+ messages in thread
From: David Rientjes @ 2012-03-06 7:07 UTC (permalink / raw)
To: Pekka Enberg; +Cc: linux-mm
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@google.com>
---
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);
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. 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@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch -vmevent/core] mm, vmevent: vmevent_fd is conditional on CONFIG_VMEVENT
2012-03-06 7:07 [patch -vmevent/core] mm, vmevent: vmevent_fd is conditional on CONFIG_VMEVENT David Rientjes
@ 2012-03-06 7:25 ` Pekka Enberg
0 siblings, 0 replies; 2+ messages in thread
From: Pekka Enberg @ 2012-03-06 7:25 UTC (permalink / raw)
To: David Rientjes; +Cc: linux-mm
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@google.com>
> ---
> 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@kvack.org. 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@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-06 7:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-06 7:07 [patch -vmevent/core] mm, vmevent: vmevent_fd is conditional on CONFIG_VMEVENT David Rientjes
2012-03-06 7:25 ` Pekka Enberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).