Magellan Linux

Contents of /trunk/kernel26-xen/patches-2.6.25-r1/1140-2.6.25-xen-Use-system_call_after_swapgs-as-the-syscall-c.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 606 - (show annotations) (download)
Thu May 22 23:13:13 2008 UTC (16 years ago) by niro
File size: 1276 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 be8eac85360c9794c072b7fde1b8196eca1a96da Mon Sep 17 00:00:00 2001
2 From: Eduardo Habkost <ehabkost@redhat.com>
3 Date: Fri, 25 Jan 2008 13:05:29 -0200
4 Subject: [PATCH] Xen: Use system_call_after_swapgs() as the syscall callback
5
6 Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
7 ---
8 arch/x86/xen/setup.c | 2 +-
9 include/asm-x86/proto.h | 1 +
10 2 files changed, 2 insertions(+), 1 deletions(-)
11
12 diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c
13 index 1409021..a64385d 100644
14 --- a/arch/x86/xen/setup.c
15 +++ b/arch/x86/xen/setup.c
16 @@ -100,7 +100,7 @@ void __init xen_arch_setup(void)
17 #else
18 HYPERVISOR_set_callbacks((unsigned long)xen_hypervisor_callback,
19 (unsigned long)xen_failsafe_callback,
20 - (unsigned long)system_call);
21 + (unsigned long)system_call_after_swapgs);
22 #endif
23
24 set_iopl.iopl = 1;
25 diff --git a/include/asm-x86/proto.h b/include/asm-x86/proto.h
26 index 68563c0..b562df5 100644
27 --- a/include/asm-x86/proto.h
28 +++ b/include/asm-x86/proto.h
29 @@ -10,6 +10,7 @@ extern void early_idt_handler(void);
30 extern void init_memory_mapping(unsigned long start, unsigned long end);
31
32 extern void system_call(void);
33 +extern void system_call_after_swapgs(void);
34 extern void syscall_init(void);
35
36 extern void ia32_syscall(void);
37 --
38 1.5.4.1
39