linux/arch/sh/kernel/cpu
Peter Zijlstra 004417a6d4 perf, arch: Cleanup perf-pmu init vs lockup-detector
The perf hardware pmu got initialized at various points in the boot,
some before early_initcall() some after (notably arch_initcall).

The problem is that the NMI lockup detector is ran from early_initcall()
and expects the hardware pmu to be present.

Sanitize this by moving all architecture hardware pmu implementations to
initialize at early_initcall() and move the lockup detector to an explicit
initcall right after that.

Cc: paulus <paulus@samba.org>
Cc: davem <davem@davemloft.net>
Cc: Michael Cree <mcree@orcon.net.nz>
Cc: Deng-Cheng Zhu <dengcheng.zhu@gmail.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1290707759.2145.119.camel@laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2010-11-26 15:14:56 +01:00
..
irq sh64: irq_data conversion. 2010-10-27 15:38:59 +09:00
sh2 sh: Tidy CPU probing and fixup section annotations. 2010-04-21 12:01:06 +09:00
sh2a sh: Tidy CPU probing and fixup section annotations. 2010-04-21 12:01:06 +09:00
sh3 sh: Tidy CPU probing and fixup section annotations. 2010-04-21 12:01:06 +09:00
sh4 perf, arch: Cleanup perf-pmu init vs lockup-detector 2010-11-26 15:14:56 +01:00
sh4a perf, arch: Cleanup perf-pmu init vs lockup-detector 2010-11-26 15:14:56 +01:00
sh5 sh: Tidy CPU probing and fixup section annotations. 2010-04-21 12:01:06 +09:00
shmobile sh: SH-Mobile R-standby register save/restore 2010-02-26 15:29:26 +09:00
adc.c sh: Mass ctrl_in/outX to __raw_read/writeX conversion. 2010-01-26 12:58:40 +09:00
clock-cpg.c sh: move sh clock-cpg.c contents to drivers/sh/clk-cpg.c 2010-05-13 17:39:22 +09:00
clock.c sh: move sh clock.c contents to drivers/sh/clk. 2010-05-13 17:39:14 +09:00
fpu.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
hwblk.c sh: hwblk index rework 2010-05-11 11:48:31 +09:00
init.c sh: Expose physical addressing mode through cpuinfo. 2010-10-26 14:44:58 +09:00
Makefile sh: move sh clock-cpg.c contents to drivers/sh/clk-cpg.c 2010-05-13 17:39:22 +09:00