sparc64: Fix bootup regression due to perf init ordering.
authorDavid S. Miller <davem@davemloft.net>
Sun, 9 Jan 2011 23:36:46 +0000 (15:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 9 Jan 2011 23:36:46 +0000 (15:36 -0800)
commit5edddaab1d5d6143c23fef119a24ea768915681a
tree6bec94f1037240d9147eae502f671e6e8ccad23a
parent0c21e3aaf6ae85bee804a325aa29c325209180fd
sparc64: Fix bootup regression due to perf init ordering.

Commit 004417a6d468e24399e383645c068b498eed84ad
("perf, arch: Cleanup perf-pmu init vs lockup-detector")
move the perf events init to be an early_initcall.

But this won't work properly unless the dependencies for
this code initialize beforehand.

Fix it by making cpu_type_probe and pcr_arch_init be
an early_initcall as well.

Reported-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/cpu.c
arch/sparc/kernel/pcr.c