git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f04ba8
)
percpu: make alloc_percpu() handle array types
author
Tejun Heo
<tj@kernel.org>
Thu, 29 Oct 2009 13:34:12 +0000
(22:34 +0900)
committer
Tejun Heo
<tj@kernel.org>
Thu, 29 Oct 2009 13:34:12 +0000
(22:34 +0900)
alloc_percpu() couldn't handle array types like "int [100]" due to the
way return type was casted. Fix it by using typeof() instead.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Frederic Weisbecker <fweisbec@gmail.com>
Reviewed-by: Christoph Lameter <cl@linux-foundation.org>
No differences found