mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
x86/MCE, xen/mcelog: Make /dev/mcelog registration messages more precise
When running under Xen as dom0, /dev/mcelog is being provided by Xen instead of the normal mcelog character device of the MCE core. Convert an error message being issued by the MCE core in this case to an informative message that Xen has registered the device. Signed-off-by: Juergen Gross <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: Tony Luck <[email protected]> Cc: linux-edac <[email protected]> Link: http://lkml.kernel.org/r/[email protected]
This commit is contained in:
parent
6057077f6e
commit
b867059018
2 changed files with 9 additions and 1 deletions
|
|
@ -408,6 +408,8 @@ static int __init xen_late_init_mcelog(void)
|
|||
if (ret)
|
||||
goto deregister;
|
||||
|
||||
pr_info("/dev/mcelog registered by Xen\n");
|
||||
|
||||
return 0;
|
||||
|
||||
deregister:
|
||||
|
|
|
|||
Loading…
Reference in a new issue