perf: Fix prototype of find_pmu_context()
authorMark Rutland <mark.rutland@arm.com>
Mon, 10 Feb 2014 17:44:18 +0000 (17:44 +0000)
committerIngo Molnar <mingo@kernel.org>
Thu, 27 Feb 2014 11:43:21 +0000 (12:43 +0100)
commit9e3170411ed171a126f4dca1672012a33efe59e5
treef36e9f12000658ac1a380f49efb92583c3f2e057
parentff5a7088f0f04dd246e514f898cab0c863c3598d
perf: Fix prototype of find_pmu_context()

For some reason find_pmu_context() is defined as returning void * rather
than a __percpu struct perf_cpu_context *. As all the requisite types are
defined in advance there's no reason to keep it that way.

This patch modifies the prototype of pmu_find_context to return a
__percpu struct perf_cpu_context *.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Link: http://lkml.kernel.org/r/1392054264-23570-2-git-send-email-mark.rutland@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/core.c