]> git.baikalelectronics.ru Git - kernel.git/commit
[IA64] perfmon: Change vmalloc to vzalloc and drop memset.
authorJesper Juhl <jj@chaosbits.net>
Sat, 30 Oct 2010 19:35:58 +0000 (21:35 +0200)
committerTony Luck <tony.luck@intel.com>
Tue, 28 Dec 2010 22:13:36 +0000 (14:13 -0800)
commitac25373533cff2078b6a596b6d4a0d73691d9110
treeb7a65c1b990a724abfd7aa7f53413de97cb2b0f6
parentbdaa074ef227999c7455a1a7770d549b66aa782c
[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