percpu: fix pcpu_chunk_struct_size
authorTejun Heo <tj@kernel.org>
Tue, 24 Feb 2009 02:57:20 +0000 (11:57 +0900)
committerTejun Heo <tj@kernel.org>
Tue, 24 Feb 2009 02:57:20 +0000 (11:57 +0900)
commitcb83b42e23bd6c4bf91793a320fbe83787c13596
tree7f2b83bccf1be9548f84fa74867043aaad0a3e45
parentcae3aeb83fef5a7c9c8ac40e653e59dd9a35469c
percpu: fix pcpu_chunk_struct_size

Impact: fix short allocation leading to memory corruption

While dropping rvalue wrapping macros around global parameters,
pcpu_chunk_struct_size was set incorrectly resulting in shorter page
pointer array.  Fix it.

Signed-off-by: Tejun Heo <tj@kernel.org>
mm/percpu.c