]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
xen64: Clear %fs on xen_load_tls()
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 8 Jul 2008 22:07:10 +0000 (15:07 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 16 Jul 2008 09:04:55 +0000 (11:04 +0200)
commit8a95408e183b3e4aaf3b6a66fa34bff4db53011b
treeaf3d69d791d65fe324d4883fbe6a2e3d5f065fd0
parent4a5c3e77f70b3ea8b361d7fa9eb2e4dad18f70ae
xen64: Clear %fs on xen_load_tls()

We need to do this, otherwise we can get a GPF on hypercall return
after TLS descriptor is cleared but %fs is still pointing to it.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.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>
arch/x86/xen/enlighten.c