/[pkg-src]/trunk/kernel26-xen/patches-2.6.25-r1/1092-2.6.25-xen-Disable-syscall32-code-temporarily-FIXME.patch |
Contents of /trunk/kernel26-xen/patches-2.6.25-r1/1092-2.6.25-xen-Disable-syscall32-code-temporarily-FIXME.patch
Parent Directory | Revision Log
Revision 606 -
(show annotations)
(download)
Thu May 22 23:13:13 2008 UTC (15 years, 11 months ago) by niro
File size: 1043 byte(s)
Thu May 22 23:13:13 2008 UTC (15 years, 11 months ago) by niro
File size: 1043 byte(s)
-ver bump to 2.6.25-magellan-r1: - linux-2.6.25.4 - fbcondecor-0.9.4 - squashfs-3.3 - unionfs-2.3.3 - tuxonice-3.0-rc7 - linux-phc-0.3.0 - acpi-dstd-0.9a - reiser4 - xen-3.2.0 . ipw3945-1.2.2
1 | From 726fcb11f4c74135a27cf6d88a48ec83c72b42c7 Mon Sep 17 00:00:00 2001 |
2 | From: Eduardo Habkost <ehabkost@redhat.com> |
3 | Date: Fri, 4 Jan 2008 11:30:17 -0200 |
4 | Subject: [PATCH] Disable syscall32 code temporarily (FIXME) |
5 | |
6 | Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> |
7 | --- |
8 | arch/x86/vdso/vdso32-setup.c | 4 ++++ |
9 | 1 files changed, 4 insertions(+), 0 deletions(-) |
10 | |
11 | diff --git a/arch/x86/vdso/vdso32-setup.c b/arch/x86/vdso/vdso32-setup.c |
12 | index 0bd5f44..4a0ae65 100644 |
13 | --- a/arch/x86/vdso/vdso32-setup.c |
14 | +++ b/arch/x86/vdso/vdso32-setup.c |
15 | @@ -210,6 +210,9 @@ static int use_sysenter __read_mostly = -1; |
16 | /* May not be __init: called during resume */ |
17 | void syscall32_cpu_init(void) |
18 | { |
19 | +#ifndef CONFIG_XEN |
20 | + /*FIXME: handle using pvops */ |
21 | + |
22 | if (use_sysenter < 0) |
23 | use_sysenter = (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL); |
24 | |
25 | @@ -220,6 +223,7 @@ void syscall32_cpu_init(void) |
26 | checking_wrmsrl(MSR_IA32_SYSENTER_EIP, (u64)ia32_sysenter_target); |
27 | |
28 | wrmsrl(MSR_CSTAR, ia32_cstar_target); |
29 | +#endif |
30 | } |
31 | |
32 | #define compat_uses_vma 1 |
33 | -- |
34 | 1.5.4.1 |
35 |