perf, sparc: Fix CONFIG_PERF_EVENTS=y build error
authorIngo Molnar <mingo@elte.hu>
Thu, 9 Dec 2010 23:27:23 +0000 (00:27 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 9 Dec 2010 23:29:24 +0000 (00:29 +0100)
Fix a typo in:

  004417a6d468: 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>
arch/sparc/kernel/perf_event.c

index 75c5b12639708ef851c93b5e8408eb2b29896ef8..39348b1cebd3562b4fce5a1127a2b57b066ef100 100644 (file)
@@ -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)