|
@@ -95,7 +95,7 @@ static void cmci_discover(int banks, int boot)
|
|
|
|
|
|
/* Already owned by someone else? */
|
|
/* Already owned by someone else? */
|
|
if (val & CMCI_EN) {
|
|
if (val & CMCI_EN) {
|
|
- if (test_and_clear_bit(i, owned) || boot)
|
|
|
|
|
|
+ if (test_and_clear_bit(i, owned) && !boot)
|
|
print_update("SHD", &hdr, i);
|
|
print_update("SHD", &hdr, i);
|
|
__clear_bit(i, __get_cpu_var(mce_poll_banks));
|
|
__clear_bit(i, __get_cpu_var(mce_poll_banks));
|
|
continue;
|
|
continue;
|
|
@@ -107,7 +107,7 @@ static void cmci_discover(int banks, int boot)
|
|
|
|
|
|
/* Did the enable bit stick? -- the bank supports CMCI */
|
|
/* Did the enable bit stick? -- the bank supports CMCI */
|
|
if (val & CMCI_EN) {
|
|
if (val & CMCI_EN) {
|
|
- if (!test_and_set_bit(i, owned) || boot)
|
|
|
|
|
|
+ if (!test_and_set_bit(i, owned) && !boot)
|
|
print_update("CMCI", &hdr, i);
|
|
print_update("CMCI", &hdr, i);
|
|
__clear_bit(i, __get_cpu_var(mce_poll_banks));
|
|
__clear_bit(i, __get_cpu_var(mce_poll_banks));
|
|
} else {
|
|
} else {
|