diff options
author | Naoya Horiguchi <[email protected]> | 2012-01-23 15:54:52 -0500 |
---|---|---|
committer | Tony Luck <[email protected]> | 2012-02-22 13:14:16 -0800 |
commit | fadd85f16a8ec3fee8af599e79a209682dc52348 (patch) | |
tree | 203da1b195a8c7d90c52537b501df4d21f34e23b /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | d6126ef5f31ca54980cb067af659a360dfcca037 (diff) |
x86/mce: Fix return value of mce_chrdev_read() when erst is disabled
Current kernel MCE code reads ERST at the first reading of /dev/mcelog
(maybe in starting mcelogd,) even if the system does not support ERST,
which results in a fake "no such device" message (as described in [1].)
This problem is not critical, but can confuse system admins.
This patch fixes it by filtering the return value from lower (ACPI) layer.
[1] http://thread.gmane.org/gmane.linux.kernel/1060250
Reported by: Jon Masters <[email protected]>
Signed-off-by: Naoya Horiguchi <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Huang Ying <[email protected]>
Link: https://lkml.org/lkml/2012/1/23/299
Signed-off-by: Tony Luck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions