Re: sparc boot failure due to perf init

From: Peter Zijlstra
Date: Mon Jan 10 2011 - 10:20:49 EST


On Sun, 2011-01-09 at 15:37 -0800, David Miller wrote:
> 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@xxxxxxxxxxxx>
> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>

Thanks for sorting that David! and sorry for causing the breakage to
begin with.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/