linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Pekka Enberg <penberg@kernel.org>
To: David Rientjes <rientjes@google.com>
Cc: linux-mm@kvack.org
Subject: Re: [patch -vmevent/core] mm, vmevent: vmevent_fd is conditional on CONFIG_VMEVENT
Date: Tue, 6 Mar 2012 09:25:39 +0200 (EET)	[thread overview]
Message-ID: <alpine.LFD.2.02.1203060925310.6280@tux.localdomain> (raw)
In-Reply-To: <alpine.DEB.2.00.1203052301050.25090@chino.kir.corp.google.com>

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>

      reply	other threads:[~2012-03-06  7:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-06  7:07 David Rientjes
2012-03-06  7:25 ` Pekka Enberg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.2.02.1203060925310.6280@tux.localdomain \
    --to=penberg@kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=rientjes@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox