diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2009-01-28 17:35:03 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2009-01-30 17:51:44 -0500 |
commit | b8aa287f77be943e37a84fa4657e27df95269bfb (patch) | |
tree | 11ee7b277d2d099ffc562caf07ee43e4d14e64be /arch/x86/kernel/entry_64.S | |
parent | 41edafdb78feac1d1f8823846209975fde990633 (diff) |
x86: fix paravirt clobber in entry_64.S
Impact: Fix latent bug
The clobber is trying to say that anything except RDI is available for
clobbering, but actually clobbers everything. This hasn't mattered
because the clobbers were basically ignored, but subsequent patches
will rely on them.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/kernel/entry_64.S')
-rw-r--r-- | arch/x86/kernel/entry_64.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S index a52703864a16..e4c9710cae52 100644 --- a/arch/x86/kernel/entry_64.S +++ b/arch/x86/kernel/entry_64.S | |||
@@ -1140,7 +1140,7 @@ ENTRY(native_load_gs_index) | |||
1140 | CFI_STARTPROC | 1140 | CFI_STARTPROC |
1141 | pushf | 1141 | pushf |
1142 | CFI_ADJUST_CFA_OFFSET 8 | 1142 | CFI_ADJUST_CFA_OFFSET 8 |
1143 | DISABLE_INTERRUPTS(CLBR_ANY | ~(CLBR_RDI)) | 1143 | DISABLE_INTERRUPTS(CLBR_ANY & ~CLBR_RDI) |
1144 | SWAPGS | 1144 | SWAPGS |
1145 | gs_change: | 1145 | gs_change: |
1146 | movl %edi,%gs | 1146 | movl %edi,%gs |