diff options
| author | Xiao Guangrong <[email protected]> | 2009-12-09 11:28:13 +0800 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-12-09 09:56:27 +0100 |
| commit | aa5452d70c0d559310598b243b8b1033c10056e7 (patch) | |
| tree | 80f1c0b1137722a71623254c93bec20e33f4b19d /drivers/scsi/mpt2sas/mpi/mpi2_init.h | |
| parent | 44234adcdce38f83c56e05f808ce656175b4beeb (diff) | |
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 <[email protected]>
Reviewed-by: Frederic Weisbecker <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Paul Mackerras <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions