From: Ingo Molnar <mingo@elte.hu>
To: linux-kernel@vger.kernel.org, Jeremy Fitzhardinge <jeremy@goop.org>
Subject: [patch] x86, xen, vdso: fix build error, add sysctl_vsyscall32
Date: Fri, 11 Jul 2008 22:34:35 +0200 [thread overview]
Message-ID: <20080711203435.GA29286@elte.hu> (raw)
commit c187263834465c2beededb4d19e7f6bab18cc757
Author: Ingo Molnar <mingo@elte.hu>
Date: Fri Jul 11 22:34:26 2008 +0200
x86, xen, vdso: fix build error, add sysctl_vsyscall32
Xen recently tried to make use of sysctl_vsyscall32, with this result:
arch/x86/xen/built-in.o: In function `xen_enable_syscall':
(.cpuinit.text+0xdb): undefined reference to `sysctl_vsyscall32'
turns out when sysctl_vsyscall32 use was introduced, the variable
was not defined anywhere.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
arch/x86/vdso/vdso32-setup.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/x86/vdso/vdso32-setup.c b/arch/x86/vdso/vdso32-setup.c
index 0bce542..0645fe9 100644
--- a/arch/x86/vdso/vdso32-setup.c
+++ b/arch/x86/vdso/vdso32-setup.c
@@ -377,6 +377,8 @@ __initcall(sysenter_setup);
/* Register vsyscall32 into the ABI table */
#include <linux/sysctl.h>
+int sysctl_vsyscall32;
+
static ctl_table abi_table2[] = {
{
.procname = "vsyscall32",
next reply other threads:[~2008-07-11 20:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-11 20:34 Ingo Molnar [this message]
2008-07-11 20:41 ` [patch] x86, xen, vdso: fix build error, add sysctl_vsyscall32 Ingo Molnar
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=20080711203435.GA29286@elte.hu \
--to=mingo@elte.hu \
--cc=jeremy@goop.org \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.