summaryrefslogtreecommitdiffstats
path: root/kernel/utsname_sysctl.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-10-29 14:34:12 +0100
committerTejun Heo <tj@kernel.org>2009-10-29 14:34:12 +0100
commit64ef291f46d795917f32a0f5975e2b76f6fe206a (patch)
treec900fa524230a90f44676212a7dc0349a0cea394 /kernel/utsname_sysctl.c
parentvmalloc: fix use of non-existent percpu variable in put_cpu_var() (diff)
downloadlinux-64ef291f46d795917f32a0f5975e2b76f6fe206a.tar.xz
linux-64ef291f46d795917f32a0f5975e2b76f6fe206a.zip
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 <tj@kernel.org> Reviewed-by: Frederic Weisbecker <fweisbec@gmail.com> Reviewed-by: Christoph Lameter <cl@linux-foundation.org>
Diffstat (limited to 'kernel/utsname_sysctl.c')
0 files changed, 0 insertions, 0 deletions