浏览代码

perf, sparc: Fix CONFIG_PERF_EVENTS=y build error

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>
Ingo Molnar 14 年之前
父节点
当前提交
efc70d241f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/sparc/kernel/perf_event.c

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

@@ -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)