Messages in this thread Patch in this message | | | Date | Fri, 11 Jul 2008 22:34:35 +0200 | From | Ingo Molnar <> | Subject | [patch] x86, xen, vdso: fix build error, add sysctl_vsyscall32 |
| |
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",
| |