Re: [PATCH] macintosh/via-pmu68k: Initialize PMU driver with setup_arch and arch_initcall
From: Geert Uytterhoeven
Date: Mon Feb 26 2018 - 04:46:35 EST
On Sun, Jan 28, 2018 at 12:51 AM, Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx> wrote:
> The PMU watchdog will power down the system if the kernel is slow
> to start up, e.g. due to unpacking a large initrd. The powerpc
> version of this driver (via-pmu.c) has a solution for the same
> problem. It uses this call sequence:
>
> setup_arch
> find_via_pmu
> init_pmu
> ...
> arch_initcall
> via_pmu_start
>
> Bring via-pmu68k.c into line with via-pmu.c to fix this issue.
>
> Cc: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Tested-by: Stan Johnson <userm57@xxxxxxxxx>
> Signed-off-by: Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx>
Thanks, applied and queue for v4.17.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds