diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-06-25 08:19:25 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 15:11:12 +0400 |
commit | e04e0a630d8b5c621b3a8e70ff20db737d3a5728 (patch) | |
tree | 77ba90fcd186fa4fe5f8a8f488961301b13c20b7 /include/asm-x86/tlb.h | |
parent | 478de5a9d691dd0c048ddce62dbec23722515636 (diff) | |
download | linux-e04e0a630d8b5c621b3a8e70ff20db737d3a5728.tar.xz |
x86: use __KERNEL_DS as SS when returning to a kernel thread
This is needed when the kernel is running on RING3, such as under Xen.
x86_64 has a weird feature that makes it #GP on iret when SS is a null
descriptor.
This need to be tested on bare metal to make sure it doesn't cause any
problems. AMD specs say SS is always ignored (except on iret?).
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Cc: Stephen Tweedie <sct@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/tlb.h')
0 files changed, 0 insertions, 0 deletions