[patch] x86, xen, vdso: fix build error, add sysctl_vsyscall32

From: Ingo Molnar
Date: Fri Jul 11 2008 - 16:34:56 EST


commit c187263834465c2beededb4d19e7f6bab18cc757
Author: Ingo Molnar <mingo@xxxxxxx>
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@xxxxxxx>
---
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",
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/