]> git.baikalelectronics.ru Git - kernel.git/commit
stat: Use size_t for sizes instead of unsigned
authorChristoph Lameter <cl@linux.com>
Thu, 10 Jan 2013 19:14:17 +0000 (19:14 +0000)
committerPekka Enberg <penberg@kernel.org>
Fri, 1 Feb 2013 10:32:08 +0000 (12:32 +0200)
commit998b3c442350fa0c72b75574c503b5bacf73592f
treeed350a277672ec5399bb69bcd60016ff265c1340
parent947f8c5c9ec80cce6bb28cd2498d3789c33f4314
stat: Use size_t for sizes instead of unsigned

On some platforms (such as IA64) the large page size may results in
slab allocations to be allowed of numbers that do not fit in 32 bit.

Acked-by: Glauber Costa <glommer@parallels.com>
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
fs/proc/stat.c