]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86, xen, vdso: fix build error
authorIngo Molnar <mingo@elte.hu>
Fri, 11 Jul 2008 20:41:34 +0000 (22:41 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 16 Jul 2008 09:07:58 +0000 (11:07 +0200)
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>
arch/x86/xen/setup.c

index 9cce4a92aac0f5377514c56da5780449f2780429..3e11779755c3babc2509f5784367dc7f0026b62d 100644 (file)
@@ -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 */