[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] amd-k8-mce: remove a stray break statement



This was a leftover of converting from a switch to an if/else somewhere
between 3.4 and 4.0.

It also looks suspicious that MCEQUIRK_K7_BANK0 is not actually used
anywhere. Perhaps amd_k7_mcheck_init() and amd_k8_mcheck_init() were
intended to get (partially) folded?

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

--- a/xen/arch/x86/cpu/mcheck/amd_k8.c
+++ b/xen/arch/x86/cpu/mcheck/amd_k8.c
@@ -92,7 +92,6 @@ enum mcheck_type amd_k8_mcheck_init(stru
                        /* Enable error reporting of all errors */
                        wrmsrl(MSR_IA32_MCx_CTL(i), 0xffffffffffffffffULL);
                        wrmsrl(MSR_IA32_MCx_STATUS(i), 0x0ULL);
-                       break;
                }
        }
 



Attachment: amd-k8-mcheck-init-quirk.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.