git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44234ad
)
perf_event: Clean up __perf_event_init_context()
author
Xiao Guangrong
<xiaoguangrong@cn.fujitsu.com>
Wed, 9 Dec 2009 03:28:13 +0000
(11:28 +0800)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 9 Dec 2009 08:56:27 +0000
(09:56 +0100)
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>
kernel/perf_event.c
patch
|
blob
|
history
diff --cc
kernel/perf_event.c
Simple merge