/[pkg-src]/tags/kernel26-xen-2_6_25_r1-fedora9-patches/kernel26-xen/patches-2.6.25-r1/1140-2.6.25-xen-Use-system_call_after_swapgs-as-the-syscall-c.patch |
Contents of /tags/kernel26-xen-2_6_25_r1-fedora9-patches/kernel26-xen/patches-2.6.25-r1/1140-2.6.25-xen-Use-system_call_after_swapgs-as-the-syscall-c.patch
Parent Directory | Revision Log
Revision 608 -
(show annotations)
(download)
Fri May 23 12:17:32 2008 UTC (16 years, 1 month ago) by (unknown author)
File size: 1276 byte(s)
Fri May 23 12:17:32 2008 UTC (16 years, 1 month ago) by (unknown author)
File size: 1276 byte(s)
This commit was manufactured by cvs2svn to create tag 'kernel26-xen-2_6_25_r1-fedora9-patches'.
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 |