diff options
| author | 2022-06-01 01:11:02 +0300 | |
|---|---|---|
| committer | 2022-06-02 20:36:13 +0200 | |
| commit | 587b9bfe0668bc997e51af9526a0c7c084d4660f (patch) | |
| tree | 329ba79049cc99b387b251ceecab244c63b64d3f /tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com | |
| parent | Merge tag 'pm-5.19-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm (diff) | |
| download | linux-dev-587b9bfe0668bc997e51af9526a0c7c084d4660f.tar.xz linux-dev-587b9bfe0668bc997e51af9526a0c7c084d4660f.zip | |
kernel/reboot: Use static handler for register_platform_power_off()
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>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
