From: Ingo Molnar Date: Fri, 11 Jul 2008 20:41:34 +0000 (+0200) Subject: x86, xen, vdso: fix build error X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=71415c6a0877d5944d5dc3060f3b03513746158d;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 --- diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c index 9cce4a92aac0..3e11779755c3 100644 --- a/arch/x86/xen/setup.c +++ b/arch/x86/xen/setup.c @@ -144,7 +144,9 @@ void __cpuinit xen_enable_syscall(void) if (ret != 0) { printk(KERN_INFO "Xen: 32-bit syscall not supported: disabling vdso\n"); setup_clear_cpu_cap(X86_FEATURE_SYSCALL32); +#ifdef CONFIG_COMPAT sysctl_vsyscall32 = 0; +#endif } } #endif /* CONFIG_X86_64 */