Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166511
b: refs/heads/master
c: fb59e72
h: refs/heads/master
i:
  166509: b70c934
  166507: adacb9a
  166503: 2ea78bf
  166495: 584c44b
v: v3
  • Loading branch information
Tejun Heo committed Sep 29, 2009
1 parent c5ccf15 commit c98c0e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ffe0d5a575459ffe664b0762130b557f826fcace
refs/heads/master: fb59e72e7e10fd9d31f4e522f1b28254c2cc8a6c
4 changes: 4 additions & 0 deletions trunk/mm/percpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1347,6 +1347,10 @@ struct pcpu_alloc_info * __init pcpu_build_alloc_info(
struct pcpu_alloc_info *ai;
unsigned int *cpu_map;

/* this function may be called multiple times */
memset(group_map, 0, sizeof(group_map));
memset(group_cnt, 0, sizeof(group_map));

/*
* Determine min_unit_size, alloc_size and max_upa such that
* alloc_size is multiple of atom_size and is the smallest
Expand Down

0 comments on commit c98c0e8

Please sign in to comment.