Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210371
b: refs/heads/master
c: 1389298
h: refs/heads/master
i:
  210369: ce6fefd
  210367: 66b40c4
v: v3
  • Loading branch information
Andreas Herrmann authored and Ingo Molnar committed Sep 5, 2010
1 parent bb24eb4 commit 0d3a6f3
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: 29bc17ecb856ffb2b47c7009a71971c6f9334205
refs/heads/master: 1389298f7d14f179c2fa4b4b343079bd56082c70
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/cpu/mcheck/mce_amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ static __cpuinit int threshold_create_bank(unsigned int cpu, unsigned int bank)
err = -ENOMEM;
goto out;
}
if (!alloc_cpumask_var(&b->cpus, GFP_KERNEL)) {
if (!zalloc_cpumask_var(&b->cpus, GFP_KERNEL)) {
kfree(b);
err = -ENOMEM;
goto out;
Expand All @@ -543,7 +543,7 @@ static __cpuinit int threshold_create_bank(unsigned int cpu, unsigned int bank)
#ifndef CONFIG_SMP
cpumask_setall(b->cpus);
#else
cpumask_copy(b->cpus, c->llc_shared_map);
cpumask_set_cpu(cpu, b->cpus);
#endif

per_cpu(threshold_banks, cpu)[bank] = b;
Expand Down

0 comments on commit 0d3a6f3

Please sign in to comment.