diff options
author | Tejun Heo <[email protected]> | 2009-10-29 22:34:12 +0900 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2009-10-29 22:34:12 +0900 |
commit | 64ef291f46d795917f32a0f5975e2b76f6fe206a (patch) | |
tree | c900fa524230a90f44676212a7dc0349a0cea394 /lib/debugobjects.c | |
parent | 3f04ba859597412afbfb31f2fcbe289f2461f9a1 (diff) |
percpu: make alloc_percpu() handle array types
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 <[email protected]>
Reviewed-by: Frederic Weisbecker <[email protected]>
Reviewed-by: Christoph Lameter <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions