x86, realmode: Change EFER to a single u64 field
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 16 May 2012 21:02:05 +0000 (14:02 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 16 May 2012 21:02:05 +0000 (14:02 -0700)
commit638d957b51c88852de72f15f7cd588d125e97dab
tree84e9d6c7bb5416659e9015b60da3909751266c80
parent137127018812ec7fcccb9843156cfc0b5cfa31d5
x86, realmode: Change EFER to a single u64 field

Change EFER to be a single u64 field instead of two u32 fields; change
the order to maintain alignment.  Note that on x86-64 cr4 is really
also a 64-bit quantity, although we can only set the low 32 bits from
the trampoline code since it is still executing in 32-bit mode at that
point.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: Jarkko Sakkinen <jarkko.sakkinen@intel.com>
arch/x86/include/asm/realmode.h
arch/x86/realmode/init.c
arch/x86/realmode/rm/trampoline_64.S