commit | 4a8c4c4e10d1bc2c3bd80caabb6a76a66849f7e8 | [log] [tgz] |
---|---|---|
author | Glauber de Oliveira Costa <gcosta@redhat.com> | Wed Jan 30 13:32:07 2008 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Wed Jan 30 13:32:07 2008 +0100 |
tree | b93a8cef2dd647128cea3d28bf86bc97eaff074f | |
parent | 2e47d3e6c35bb5b78fea2b2584c7eeaf782f138d [diff] |
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>