]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit72fe4858544292ad64600765cb78bc02298c6b1c
treea3876c02ee67a98f0d0f9606fcb943af627acea6
parente801f864ec7e5b149bd05337800e419f408523bb
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