x86/cpuid: replace magic number with named constant
commit42673936d1b2dfc7b74a18c759f02735876a8453
authorAndre Przywara <andre.przywara@amd.com>
Thu, 11 Mar 2010 13:38:56 +0000 (11 14:38 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 13 Mar 2010 15:50:54 +0000 (13 16:50 +0100)
tree3b35c6b52c612461c49caa971dc77d498591b083
parentc6dc6f63bf7ee418c0a430a8b3386817ede69940
x86/cpuid: replace magic number with named constant

CPUID leaf Fn8000_0001.EDX contains a copy of many Fn0000_0001.EDX bits.
Define a name for this mask to improve readability and avoid typos.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-i386/cpuid.c