Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210285
b: refs/heads/master
c: 94cb121
h: refs/heads/master
i:
  210283: 11b937c
v: v3
  • Loading branch information
Namhyung Kim authored and Tejun Heo committed Aug 7, 2010
1 parent c17f465 commit 0f34805
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: 18cb2aef91b37dbce2bec2f39bb1dddd0e9dd838
refs/heads/master: 94cb121c9483f1ec9b1ef0c249fbfc49c628fa6b
4 changes: 2 additions & 2 deletions trunk/mm/percpu_up.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ void __percpu *__alloc_percpu(size_t size, size_t align)
* percpu sections on SMP for which this path isn't used.
*/
WARN_ON_ONCE(align > SMP_CACHE_BYTES);
return kzalloc(size, GFP_KERNEL);
return (void __percpu __force *)kzalloc(size, GFP_KERNEL);
}
EXPORT_SYMBOL_GPL(__alloc_percpu);

void free_percpu(void __percpu *p)
{
kfree(p);
kfree(this_cpu_ptr(p));
}
EXPORT_SYMBOL_GPL(free_percpu);

Expand Down

0 comments on commit 0f34805

Please sign in to comment.