x86: adds paravirt hook for swapgs
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Wed, 30 Jan 2008 12:32:08 +0000 (13:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:32:08 +0000 (13:32 +0100)
commite801f864ec7e5b149bd05337800e419f408523bb
treecdab4ec9635926756f58398469621031a2f34ae4
parent4a8c4c4e10d1bc2c3bd80caabb6a76a66849f7e8
x86: adds paravirt hook for swapgs

This patch adds paravirt hook for swapgs operation, which is a privileged
operation in x86_64.

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/paravirt.c
include/asm-x86/paravirt.h
include/asm-x86/processor.h