]> git.baikalelectronics.ru Git - kernel.git/commit
x86: add macro for privileged 64-bit operation
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Wed, 30 Jan 2008 12:32:07 +0000 (13:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:32:07 +0000 (13:32 +0100)
commit3645a87fb344ba582961f02b26a2da60f9a07606
treeb93a8cef2dd647128cea3d28bf86bc97eaff074f
parent8c52fcdf00b4fe5ccc2cb49d138b0f517e21a9e2
x86: add macro for privileged 64-bit operation

i386 has a macro GET_CR0_INTO_EAX, used in early trap handling code.
x86_64 has similar needs, only it needs to put cr2 into rcx. We provide
a macro for such task, in the same way

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