]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86, xsave: Check cpuid level for XSTATE_CPUID (0x0d)
authorRobert Richter <robert.richter@amd.com>
Wed, 21 Jul 2010 17:03:54 +0000 (19:03 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 21 Jul 2010 21:06:04 +0000 (14:06 -0700)
commitee813d53a8e980a3a28318efb8935d45723f5211
tree4729849d80a1fde57071b3baacdae78528348a68
parent97e80a70db689fb1e876df9f12305cc72f85ca53
x86, xsave: Check cpuid level for XSTATE_CPUID (0x0d)

The patch introduces the XSTATE_CPUID macro and adds a check that
tests if XSTATE_CPUID exists.

Signed-off-by: Robert Richter <robert.richter@amd.com>
LKML-Reference: <1279731838-1522-4-git-send-email-robert.richter@amd.com>
Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/xsave.h
arch/x86/kernel/xsave.c