x86/mce: Replace hard coded hex constants with symbolic defines
authorTony Luck <tony.luck@intel.com>
Fri, 27 Jan 2012 00:02:22 +0000 (16:02 -0800)
committerTony Luck <tony.luck@intel.com>
Fri, 27 Jan 2012 00:02:22 +0000 (16:02 -0800)
commit08dda402d60a721ac94e79efd7646b332be3e3b2
tree8b1e10588fd4d847997ebb1a958d3bbd3d1ea0a3
parent5f7b88d51e89771f64c15903b96b5933dd0bc6d8
x86/mce: Replace hard coded hex constants with symbolic defines

Magic constants like 0x0134 in code just invite questions on
where they come from, what they mean, can they be changed.

Provide #defines for the architecturally defined MCACOD values
with a reference to the Intel Software Developers manual which
describes them.

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/x86/kernel/cpu/mcheck/mce-severity.c