/[pkg-src]/tags/kernel26-xen-2_6_25_r1-fedora9-patches/kernel26-xen/patches-2.6.25-r1/1146-2.6.25-xen-pvops-64-Include-rsi-on-the-register-clobber-list.patch |
Contents of /tags/kernel26-xen-2_6_25_r1-fedora9-patches/kernel26-xen/patches-2.6.25-r1/1146-2.6.25-xen-pvops-64-Include-rsi-on-the-register-clobber-list.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: 1367 byte(s)
Fri May 23 12:17:32 2008 UTC (16 years, 1 month ago) by (unknown author)
File size: 1367 byte(s)
This commit was manufactured by cvs2svn to create tag 'kernel26-xen-2_6_25_r1-fedora9-patches'.
1 | From 9d7b6eb70703f293b4d9881b29e7d27169ebd6a6 Mon Sep 17 00:00:00 2001 |
2 | From: Eduardo Habkost <ehabkost@redhat.com> |
3 | Date: Wed, 20 Feb 2008 19:03:55 -0300 |
4 | Subject: [PATCH] pvops-64: Include %rsi on the register clobber list for IRQ functions (REVIEWME) |
5 | |
6 | The IRQ functions may be C functions, and they may clobber RSI. |
7 | |
8 | Probably the best option will be saving it to avoid clobbering it after |
9 | the IRQ functions' call places are patched. Clobbering too much registers |
10 | when most IRQ functions will use none on few of them isn't a good idea. |
11 | |
12 | Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> |
13 | --- |
14 | include/asm-x86/paravirt.h | 4 ++-- |
15 | 1 files changed, 2 insertions(+), 2 deletions(-) |
16 | |
17 | diff --git a/include/asm-x86/paravirt.h b/include/asm-x86/paravirt.h |
18 | index 20a930f..784ea98 100644 |
19 | --- a/include/asm-x86/paravirt.h |
20 | +++ b/include/asm-x86/paravirt.h |
21 | @@ -1291,8 +1291,8 @@ extern struct paravirt_patch_site __parainstructions[], |
22 | * caller saved registers but the argument parameter */ |
23 | #define PV_SAVE_REGS "pushq %%rdi;" |
24 | #define PV_RESTORE_REGS "popq %%rdi;" |
25 | -#define PV_EXTRA_CLOBBERS EXTRA_CLOBBERS, "rcx" , "rdx" |
26 | -#define PV_VEXTRA_CLOBBERS EXTRA_CLOBBERS, "rdi", "rcx" , "rdx" |
27 | +#define PV_EXTRA_CLOBBERS EXTRA_CLOBBERS, "rsi", "rcx" , "rdx" |
28 | +#define PV_VEXTRA_CLOBBERS EXTRA_CLOBBERS, "rdi", "rsi", "rcx" , "rdx" |
29 | #define PV_FLAGS_ARG "D" |
30 | #endif |
31 | |
32 | -- |
33 | 1.5.4.1 |
34 |