Magellan Linux

Contents of /trunk/kernel26-xen/patches-2.6.25-r1/1141-2.6.25-xen-Add-a-system_call_after_saveargs-label-to-entry_64.S.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: 989 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 91af1b7835f5a85fc5ccc1a4022d38224113abb5 Mon Sep 17 00:00:00 2001
2 From: Eduardo Habkost <ehabkost@redhat.com>
3 Date: Mon, 4 Feb 2008 17:26:46 -0200
4 Subject: [PATCH] Add a system_call_after_saveargs label to entry_64.S
5
6 It will be used by Xen syscall entry point.
7
8 Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
9 ---
10 arch/x86/kernel/entry_64.S | 5 ++++-
11 1 files changed, 4 insertions(+), 1 deletions(-)
12
13 diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S
14 index 1182250..7961d22 100644
15 --- a/arch/x86/kernel/entry_64.S
16 +++ b/arch/x86/kernel/entry_64.S
17 @@ -252,8 +252,11 @@ ENTRY(system_call_after_swapgs)
18 */
19 ENABLE_INTERRUPTS(CLBR_NONE)
20 SAVE_ARGS 8,1
21 - movq %rax,ORIG_RAX-ARGOFFSET(%rsp)
22 movq %rcx,RIP-ARGOFFSET(%rsp)
23 +
24 +system_call_after_saveargs:
25 +
26 + movq %rax,ORIG_RAX-ARGOFFSET(%rsp)
27 CFI_REL_OFFSET rip,RIP-ARGOFFSET
28 GET_THREAD_INFO(%rcx)
29 testl $(_TIF_SYSCALL_TRACE|_TIF_SYSCALL_AUDIT|_TIF_SECCOMP),threadinfo_flags(%rcx)
30 --
31 1.5.4.1
32