Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104457
b: refs/heads/master
c: d5303b8
h: refs/heads/master
i:
  104455: 58efd34
v: v3
  • Loading branch information
Jeremy Fitzhardinge authored and Ingo Molnar committed Jul 16, 2008
1 parent 6e38027 commit 3ec7264
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6a52e4b1cddd90fbfde8fb67021657936ee74b07
refs/heads/master: d5303b811b9d6dad2e7396d545eb7db414d42a61
9 changes: 2 additions & 7 deletions trunk/arch/x86/xen/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,21 +137,16 @@ void __cpuinit xen_enable_syscall(void)

ret = register_callback(CALLBACKTYPE_syscall, xen_syscall_target);
if (ret != 0) {
printk(KERN_ERR "Failed to set syscall: %d\n", ret);
printk(KERN_ERR "Failed to set syscall callback: %d\n", ret);
/* Pretty fatal; 64-bit userspace has no other
mechanism for syscalls. */
}

if (boot_cpu_has(X86_FEATURE_SYSCALL32)) {
ret = register_callback(CALLBACKTYPE_syscall32,
xen_syscall32_target);
if (ret != 0) {
printk(KERN_INFO "Xen: 32-bit syscall not supported: disabling vdso\n");
if (ret != 0)
setup_clear_cpu_cap(X86_FEATURE_SYSCALL32);
#ifdef CONFIG_COMPAT
sysctl_vsyscall32 = 0;
#endif
}
}
#endif /* CONFIG_X86_64 */
}
Expand Down

0 comments on commit 3ec7264

Please sign in to comment.