x86: Use correct type for %cr4
authorBrian Gerst <brgerst@gmail.com>
Sat, 4 Sep 2010 01:17:08 +0000 (21:17 -0400)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 9 Sep 2010 21:16:13 +0000 (14:16 -0700)
commit2df7a6e9e8e67c19e5fe2eac3f2d2223b7bb4a7b
treec1e16dd8ba18060ee22705acb390371a40a13cfa
parent1f999ab5a1360afc388868cc0ef9afe8edeef3be
x86: Use correct type for %cr4

%cr4 is 64-bit in 64-bit mode (although the upper 32-bits are currently reserved).
Use unsigned long for the temporary variable to get the right size.

Signed-off-by: Brian Gerst <brgerst@gmail.com>
Acked-by: Pekka Enberg <penberg@kernel.org>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
LKML-Reference: <1283563039-3466-2-git-send-email-brgerst@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/processor.h