Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80429
b: refs/heads/master
c: 5a96f4a
h: refs/heads/master
i:
  80427: 40f0e42
v: v3
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Jan 30, 2008
1 parent 7fa1f98 commit 7cc0729
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 508bebbb1f211fbf3f392feea44218045096f240
refs/heads/master: 5a96f4a55c3b0bfd40771a973b173e1b94909559
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/cpu/mcheck/mce_amd_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ static __cpuinit int threshold_create_device(unsigned int cpu)
int err = 0;

for (bank = 0; bank < NR_BANKS; ++bank) {
if (!(per_cpu(bank_map, cpu) & 1 << bank))
if (!(per_cpu(bank_map, cpu) & (1 << bank)))
continue;
err = threshold_create_bank(cpu, bank);
if (err)
Expand Down Expand Up @@ -638,7 +638,7 @@ static void threshold_remove_device(unsigned int cpu)
unsigned int bank;

for (bank = 0; bank < NR_BANKS; ++bank) {
if (!(per_cpu(bank_map, cpu) & 1 << bank))
if (!(per_cpu(bank_map, cpu) & (1 << bank)))
continue;
threshold_remove_bank(cpu, bank);
}
Expand Down

0 comments on commit 7cc0729

Please sign in to comment.