Skip to content

Commit

Permalink
perf, sh: Fix patch merge foul-up
Browse files Browse the repository at this point in the history
3f6da39 ("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>
  • Loading branch information
Matt Fleming authored and Ingo Molnar committed Sep 15, 2010
1 parent 65175c0 commit 64a48d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sh/kernel/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ static struct pmu pmu = {
};

static void sh_pmu_setup(int cpu)

{
struct cpu_hw_events *cpuhw = &per_cpu(cpu_hw_events, cpu);

memset(cpuhw, 0, sizeof(struct cpu_hw_events));
Expand Down

0 comments on commit 64a48d9

Please sign in to comment.