perf, cgroups: Fix up for new API
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 30 May 2011 14:48:06 +0000 (16:48 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 31 May 2011 12:20:25 +0000 (14:20 +0200)
commit74c355fbdfedd3820046dba4f537876cea54c207
tree3a07851e63f5eb9a233286c6683f7e8c7d9d61a2
parent89e1be50c68eb5e58b873dce87bbac627ee18d1f
perf, cgroups: Fix up for new API

Ben changed the cgroup API in commit f780bdb7c1c (cgroups: add
per-thread subsystem callbacks) in an incompatible way, but
forgot to convert the perf cgroup bits.

Avoid compile warnings and runtime splats and convert perf too ;-)

Acked-by: Ben Blum <bblum@andrew.cmu.edu>
Cc: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1306767651.1200.2990.camel@twins
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/events/core.c