]> git.baikalelectronics.ru Git - kernel.git/commit
x86: replace privileged instructions with paravirt macros
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)
commit849654f2288c2d1025cf9a4471ae4cd179795db4
treea3876c02ee67a98f0d0f9606fcb943af627acea6
parent00a7e061e3d5390c8b5dfec4a21cbb79ac427b47
x86: replace privileged instructions with paravirt macros

The assembly code in entry_64.S issues a bunch of privileged instructions,
like cli, sti, swapgs, and others. Paravirt guests are forbidden to do so,
and we then replace them with macros that will do the right thing.

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/entry_64.S