]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] Use kcalloc to allocate counter_config array rather than kmalloc
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 20 Mar 2006 16:52:32 +0000 (16:52 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 21 Mar 2006 23:30:02 +0000 (23:30 +0000)
commit94bc6677208af921428b6eea682a47b13562f0d4
tree5cbe14561fe6be5d5a867ef860daf36f938dbdc0
parent9fec270923214e780fa5b9f142d517dc727483c6
[ARM] Use kcalloc to allocate counter_config array rather than kmalloc

We need this to be zero initialised.  Since this is an array, use kcalloc
rather than kzalloc or kmalloc.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/oprofile/common.c