aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>2009-12-09 11:28:13 +0800
committerIngo Molnar <mingo@elte.hu>2009-12-09 09:56:27 +0100
commitaa5452d70c0d559310598b243b8b1033c10056e7 (patch)
tree80f1c0b1137722a71623254c93bec20e33f4b19d /kernel/sysctl.c
parent44234adcdce38f83c56e05f808ce656175b4beeb (diff)
downloadkernel_samsung_espresso10-aa5452d70c0d559310598b243b8b1033c10056e7.zip
kernel_samsung_espresso10-aa5452d70c0d559310598b243b8b1033c10056e7.tar.gz
kernel_samsung_espresso10-aa5452d70c0d559310598b243b8b1033c10056e7.tar.bz2
perf_event: Clean up __perf_event_init_context()
Clean up the code a bit: - define 'perf_cpu_context' variable with 'static' - use kzalloc() instead of kmalloc() and memset() Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> Reviewed-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Paul Mackerras <paulus@samba.org> LKML-Reference: <4B1F194D.7080306@cn.fujitsu.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions