Messages in this thread | | | From | Geert Uytterhoeven <> | Date | Wed, 1 Jun 2022 12:31:23 +0200 | Subject | Re: [PATCH v1] kernel/reboot: Use static handler for register_platform_power_off() |
| |
Hi Dmitry,
On Wed, Jun 1, 2022 at 12:11 AM Dmitry Osipenko <dmitry.osipenko@collabora.com> wrote: > The register_platform_power_off() fails on m68k platform due to the > memory allocation error that happens at a very early boot time when > memory allocator isn't available yet. Fix it by using a static sys-off > handler for the platform-level power-off handlers. > > Fixes: f0f7e5265b3b ("m68k: Switch to new sys-off handler API") > Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> > Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Thank you, that fixes the issue. Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@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
| |