x86, MCE, AMD: Print decimal thresholding values
authorBorislav Petkov <borislav.petkov@amd.com>
Fri, 27 Apr 2012 10:31:34 +0000 (12:31 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Thu, 7 Jun 2012 10:43:45 +0000 (12:43 +0200)
commit18c20f373b76a64270a991396b06542abaf9f530
treeae7236e72724920a99e682e39c2b4978f8773aca
parent019f34fccfd5cf5ff1e722dafd9fe2bd54434e66
x86, MCE, AMD: Print decimal thresholding values

If one sets the threshold limit, say to 25:

$ echo 25 > machinecheck0/threshold_bank4/misc0/threshold_limit

and then reads it back again, it gives

$ cat machinecheck0/threshold_bank4/misc0/threshold_limit
19

which is actually 0x19 but we don't know that.

Make all output decimal.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
arch/x86/kernel/cpu/mcheck/mce_amd.c