perf: Clean up perf_event_context allocation
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 7 Sep 2010 13:55:13 +0000 (15:55 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 9 Sep 2010 18:46:33 +0000 (20:46 +0200)
commiteb184479874238393ac186c4e054d24311c34aaa
treeac7206becfb3e0d18600252d8f5aa15478c32390
parent97dee4f3206622f31396dede2b5ddb8670458f56
perf: Clean up perf_event_context allocation

Unify the two perf_event_context allocation sites.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: paulus <paulus@samba.org>
Cc: stephane eranian <eranian@googlemail.com>
Cc: Robert Richter <robert.richter@amd.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Lin Ming <ming.m.lin@intel.com>
Cc: Yanmin <yanmin_zhang@linux.intel.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_event.c