Skip to content

Commit

Permalink
x86, xen, vdso: fix build error
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ingo Molnar committed Jul 16, 2008
1 parent 62541c3 commit 71415c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/x86/xen/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 71415c6

Please sign in to comment.