lkml.org 
[lkml]   [2008]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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",

\
 
 \ /
  Last update: 2008-07-11 22:37    [W:0.074 / U:1.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site