]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: provide 64-bit with a load_sp0 function.
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Wed, 30 Jan 2008 12:31:31 +0000 (13:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:31:31 +0000 (13:31 +0100)
commit7818a1e0294debee02d5135e17b89f28b8871887
tree251473910cddc3c2889407cde8f6f962dc14e88f
parentca241c75037b32e0216a68e39ad2801d04fa1f87
x86: provide 64-bit with a load_sp0 function.

Paravirt guests need to inform the underlying hypervisor whenever the sp0
tss field changes. i386 already has such a function, and we use it for
x86_64 too. There's an unnecessary (for 64-bit) msr handling part in the original
version, and it is placed around an ifdef. Making no more sense in
processor_32.h, it is moved to the common header

Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/process_64.c
arch/x86/kernel/smpboot_64.c
include/asm-x86/processor.h
include/asm-x86/processor_32.h