]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
perf: perf_mux_hrtimer_cancel() can be static
authorkbuild test robot <fengguang.wu@intel.com>
Wed, 22 Apr 2015 20:00:00 +0000 (04:00 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 22 Apr 2015 20:06:34 +0000 (22:06 +0200)
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: kbuild-all@01.org
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20150422200000.GA122603@lkp-sb04
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/events/core.c

index e7ed00b4a6ed932490ea039c9a116914739d537f..598182dcc2606de60cd8880b3c2761173ccbe80c 100644 (file)
@@ -773,7 +773,7 @@ static enum hrtimer_restart perf_mux_hrtimer_handler(struct hrtimer *hr)
 }
 
 /* CPU is going down */
-void perf_mux_hrtimer_cancel(int cpu)
+static void perf_mux_hrtimer_cancel(int cpu)
 {
        struct perf_cpu_context *cpuctx;
        struct pmu *pmu;