[IA64] perfmon: Change vmalloc to vzalloc and drop memset.
commite21763dbce76d3a07ead438f8811b3e4bce0825b
authorJesper Juhl <jj@chaosbits.net>
Sat, 30 Oct 2010 19:35:58 +0000 (30 21:35 +0200)
committerTony Luck <tony.luck@intel.com>
Tue, 28 Dec 2010 22:13:36 +0000 (28 14:13 -0800)
treeb7a65c1b990a724abfd7aa7f53413de97cb2b0f6
parent75c1c91cb92806f960fcd6e53d2a0c21f343081c
[IA64] perfmon: Change vmalloc to vzalloc and drop memset.

vzalloc() nicely zeroes memory for us, so we don't have to do a vmalloc()
and then manually memset() the returned memory when all we want is for it
to be zero. Patch changes this for pfm_rvmalloc().

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/perfmon.c