[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] amd-k8-mce: remove a stray break statement
# HG changeset patch # User Keir Fraser <keir@xxxxxxx> # Date 1298539999 0 # Node ID 598d1fc295b6e88c6ff226b461553eaea61e2043 # Parent 6d451b9cbeadb922ec7ebcb8ec916a089a341039 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> --- diff -r 6d451b9cbead -r 598d1fc295b6 xen/arch/x86/cpu/mcheck/amd_k8.c --- a/xen/arch/x86/cpu/mcheck/amd_k8.c Thu Feb 24 09:32:41 2011 +0000 +++ b/xen/arch/x86/cpu/mcheck/amd_k8.c Thu Feb 24 09:33:19 2011 +0000 @@ -92,7 +92,6 @@ /* Enable error reporting of all errors */ wrmsrl(MSR_IA32_MCx_CTL(i), 0xffffffffffffffffULL); wrmsrl(MSR_IA32_MCx_STATUS(i), 0x0ULL); - break; } } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |