x86, xsave: keep the XSAVE feature mask as an u64
authorH. Peter Anvin <hpa@zytor.com>
Wed, 30 Jul 2008 00:23:16 +0000 (17:23 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jul 2008 17:50:35 +0000 (19:50 +0200)
commit6152e4b1c99a3689fc318d092cd144597f7dbd14
tree8d0590b7ea931da237d037db1bbff5aa0bf1ef34
parentb4a091a62c8e91d6077e575600363cff73fa02ef
x86, xsave: keep the XSAVE feature mask as an u64

The XSAVE feature mask is a 64-bit number; keep it that way, in order
to avoid the mistake done with rdmsr/wrmsr.  Use the xsetbv() function
provided in the previous patch.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/i387.c
arch/x86/kernel/xsave.c
include/asm-x86/xsave.h