Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215948
b: refs/heads/master
c: ed6c111
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo authored and Pekka Enberg committed Oct 2, 2010
1 parent 5f3463f commit 04afcc7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: 9b8327bb2483ded5e04df6c33cf339ce7c02f6e9
refs/heads/master: ed6c1115c835d822ec5d6356ae3043de54088f43
6 changes: 5 additions & 1 deletion trunk/mm/percpu-km.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@

static int pcpu_populate_chunk(struct pcpu_chunk *chunk, int off, int size)
{
/* noop */
unsigned int cpu;

for_each_possible_cpu(cpu)
memset((void *)pcpu_chunk_addr(chunk, cpu, 0) + off, 0, size);

return 0;
}

Expand Down

0 comments on commit 04afcc7

Please sign in to comment.