aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-01-30 07:32:08 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:32:08 -0500
commite801f864ec7e5b149bd05337800e419f408523bb (patch)
treecdab4ec9635926756f58398469621031a2f34ae4 /arch
parent4a8c4c4e10d1bc2c3bd80caabb6a76a66849f7e8 (diff)
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/paravirt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/paravirt.c b/arch/x86/kernel/paravirt.c
index 072c1a08efe6..e7c17cc4a99e 100644
--- a/arch/x86/kernel/paravirt.c
+++ b/arch/x86/kernel/paravirt.c
@@ -390,6 +390,7 @@ struct pv_cpu_ops pv_cpu_ops = {
390 390
391 .irq_enable_syscall_ret = native_irq_enable_syscall_ret, 391 .irq_enable_syscall_ret = native_irq_enable_syscall_ret,
392 .iret = native_iret, 392 .iret = native_iret,
393 .swapgs = native_swapgs,
393 394
394 .set_iopl_mask = native_set_iopl_mask, 395 .set_iopl_mask = native_set_iopl_mask,
395 .io_delay = native_io_delay, 396 .io_delay = native_io_delay,