diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-11 16:41:34 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-16 05:07:58 -0400 |
commit | 71415c6a0877d5944d5dc3060f3b03513746158d (patch) | |
tree | b8efc7dc5b2e813ce63f4d9d99e7226851a59db9 | |
parent | 62541c376668042e20122864a044360707b2fb82 (diff) |
x86, xen, vdso: fix build error
fix:
arch/x86/xen/built-in.o: In function `xen_enable_syscall':
(.cpuinit.text+0xdb): undefined reference to `sysctl_vsyscall32'
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | arch/x86/xen/setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c index 9cce4a92aac..3e11779755c 100644 --- a/arch/x86/xen/setup.c +++ b/arch/x86/xen/setup.c | |||
@@ -144,7 +144,9 @@ void __cpuinit xen_enable_syscall(void) | |||
144 | if (ret != 0) { | 144 | if (ret != 0) { |
145 | printk(KERN_INFO "Xen: 32-bit syscall not supported: disabling vdso\n"); | 145 | printk(KERN_INFO "Xen: 32-bit syscall not supported: disabling vdso\n"); |
146 | setup_clear_cpu_cap(X86_FEATURE_SYSCALL32); | 146 | setup_clear_cpu_cap(X86_FEATURE_SYSCALL32); |
147 | #ifdef CONFIG_COMPAT | ||
147 | sysctl_vsyscall32 = 0; | 148 | sysctl_vsyscall32 = 0; |
149 | #endif | ||
148 | } | 150 | } |
149 | } | 151 | } |
150 | #endif /* CONFIG_X86_64 */ | 152 | #endif /* CONFIG_X86_64 */ |