Skip to content

Commit

Permalink
perf, sparc: Fix CONFIG_PERF_EVENTS=y build error
Browse files Browse the repository at this point in the history
Fix a typo in:

  004417a: perf, arch: Cleanup perf-pmu init vs lockup-detector

Which caused a build failure on Sparc, reported by Stephen Rothwell.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Dec 9, 2010
1 parent 5dc3055 commit efc70d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sparc/kernel/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -1323,7 +1323,7 @@ int __init init_hw_perf_events(void)

return 0;
}
early_initcall(init_hw_perf_event);
early_initcall(init_hw_perf_events);

void perf_callchain_kernel(struct perf_callchain_entry *entry,
struct pt_regs *regs)
Expand Down

0 comments on commit efc70d2

Please sign in to comment.