[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)
commit58e9ff56382bdce340d50b6ff22c422dc617106c
tree5cbe14561fe6be5d5a867ef860daf36f938dbdc0
parentae92dc9f7bc9018f1d043f102747a1f1e4dd96fb
[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