[PATCH] macintosh/via-pmu68k: Initialize PMU driver with setup_arch and arch_initcall
Geert Uytterhoeven
geert at linux-m68k.org
Mon Feb 26 20:46:25 AEDT 2018
On Sun, Jan 28, 2018 at 12:51 AM, Finn Thain <fthain at telegraphics.com.au> 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 at linux-m68k.org>
> Tested-by: Stan Johnson <userm57 at yahoo.com>
> Signed-off-by: Finn Thain <fthain at telegraphics.com.au>
Thanks, applied and queue for v4.17.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
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
More information about the Linuxppc-dev
mailing list