kernel-fxtec-pro1x/arch/sh/kernel/cpu/sh4
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
..
clock-sh4-202.c sh: switch sh4-202 to clkdev 2010-05-13 17:37:59 +09:00
clock-sh4.c sh: Mass ctrl_in/outX to __raw_read/writeX conversion. 2010-01-26 12:58:40 +09:00
fpu.c sh: Move over to dynamically allocated FPU context. 2010-01-13 12:51:40 +09:00
Makefile sh: Fix up the CONFIG_PERF_EVENTS=n build for SH-4. 2009-11-12 16:20:36 +09:00
perf_event.c perf, arch: Cleanup perf-pmu init vs lockup-detector 2010-11-26 15:14:56 +01:00
probe.c sh: change PVR of SH7757 for 2nd cut 2010-07-06 17:37:57 +09:00
setup-sh4-202.c sh: Kill off timer clock strings for legacy CPG parts. 2010-03-29 17:25:03 +09:00
setup-sh7750.c sh: Kill off timer clock strings for legacy CPG parts. 2010-03-29 17:25:03 +09:00
setup-sh7760.c sh: Kill off timer clock strings for legacy CPG parts. 2010-03-29 17:25:03 +09:00
softfloat.c sh: __udivdi3 -> do_div() in softfloat lib. 2008-12-22 18:42:53 +09:00
sq.c Driver core: Constify struct sysfs_ops in struct kobj_type 2010-03-07 17:04:49 -08:00