Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221811
b: refs/heads/master
c: 034c6ef
h: refs/heads/master
i:
  221809: 0139461
  221807: 46e2819
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Nov 10, 2010
1 parent c521d4c commit 9b7e16c
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: eed01528a45dc4138e9a08064b4b6cc1a9426899
refs/heads/master: 034c6efa4616e5ff6253549e973e7fef12899324
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/cpu/perf_event_amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,11 +280,11 @@ static struct amd_nb *amd_alloc_nb(int cpu, int nb_id)
struct amd_nb *nb;
int i;

nb = kmalloc(sizeof(struct amd_nb), GFP_KERNEL);
nb = kmalloc_node(sizeof(struct amd_nb), GFP_KERNEL | __GFP_ZERO,
cpu_to_node(cpu));
if (!nb)
return NULL;

memset(nb, 0, sizeof(*nb));
nb->nb_id = nb_id;

/*
Expand Down

0 comments on commit 9b7e16c

Please sign in to comment.