Explorar o código

perf, sh: Fix patch merge foul-up

3f6da390 ("perf: Rework and fix the arch CPU-hotplug hooks") introduced
this breakage. sh_pmu_setup() is missing an opening curly brace.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20100913191729.GA6440@console-pimps.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Matt Fleming %!s(int64=14) %!d(string=hai) anos
pai
achega
64a48d9014
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      arch/sh/kernel/perf_event.c

+ 1 - 1
arch/sh/kernel/perf_event.c

@@ -338,7 +338,7 @@ static struct pmu pmu = {
 };
 };
 
 
 static void sh_pmu_setup(int cpu)
 static void sh_pmu_setup(int cpu)
-
+{
 	struct cpu_hw_events *cpuhw = &per_cpu(cpu_hw_events, cpu);
 	struct cpu_hw_events *cpuhw = &per_cpu(cpu_hw_events, cpu);
 
 
 	memset(cpuhw, 0, sizeof(struct cpu_hw_events));
 	memset(cpuhw, 0, sizeof(struct cpu_hw_events));