linux/arch/m68k/kernel
Dmitry Osipenko f0f7e5265b m68k: Switch to new sys-off handler API
Kernel now supports chained power-off handlers. Use
register_power_off_handler() that registers power-off handlers and
do_kernel_power_off() that invokes chained power-off handlers. Legacy
pm_power_off() will be removed once all drivers will be converted to
the new sys-off API.

Normally arch code should adopt only the do_kernel_power_off() at first,
but m68k is a special case because it uses pm_power_off() "inside out",
i.e. pm_power_off() invokes machine_power_off() [in fact it does nothing],
while it's machine_power_off() that should invoke the pm_power_off(), and
thus, we can't convert platforms to the new API separately. There are only
two platforms changed here, so it's not a big deal.

Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2022-05-19 19:30:30 +02:00
..
syscalls arch: syscalls: simplify uapi/kapi directory creation 2022-03-31 12:03:46 +09:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
asm-offsets.c m68k: Remove set_fs() 2021-09-24 13:35:07 +02:00
bootinfo_proc.c proc: convert everything to "struct proc_ops" 2020-02-04 03:05:26 +00:00
dma.c m68k: dma: Remove unnecessary include of asm/cacheflush.h 2021-05-10 11:47:00 +02:00
early_printk.c
entry.S m68k: Remove set_fs() 2021-09-24 13:35:07 +02:00
head.S m68k: Correct some typos in comments 2020-08-26 13:26:52 +02:00
ints.c
irq.c
machine_kexec.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
module.c m68k/kernel: Modernize printing of kernel messages 2017-02-12 10:36:52 +01:00
pcibios.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
process.c m68k: Switch to new sys-off handler API 2022-05-19 19:30:30 +02:00
ptrace.c ptrace: Remove duplicated include in ptrace.c 2022-03-23 10:57:11 -05:00
relocate_kernel.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
setup.c m68k: pull mach_beep in setup.c 2017-11-06 08:25:21 +10:00
setup_mm.c m68k: Switch to new sys-off handler API 2022-05-19 19:30:30 +02:00
setup_no.c m68k: Switch to new sys-off handler API 2022-05-19 19:30:30 +02:00
signal.c resume_user_mode: Move to resume_user_mode.h 2022-03-10 16:51:50 -06:00
sun3-head.S m68k/sun3: Remove is_medusa and m68k_pgtable_cachemode 2018-08-31 09:30:42 +02:00
sys_m68k.c arch/m68k/kernel/sys_m68k: use vma_lookup() in sys_cacheflush() 2021-06-29 10:53:51 -07:00
syscalltable.S m68k: syscalls: switch to generic syscalltbl.sh 2021-04-06 09:33:20 +02:00
time.c m68k: remove timer_interrupt() function 2020-10-30 21:57:06 +01:00
traps.c exit: Add and use make_task_dead. 2021-12-13 12:04:45 -06:00
uboot.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
vectors.c
vmlinux-nommu.lds Fixes include: 2020-12-21 10:35:11 -08:00
vmlinux-std.lds m68k: Add a missing ELF_DETAILS in link script 2020-11-23 11:31:00 +01:00
vmlinux-sun3.lds m68k: Add a missing ELF_DETAILS in link script 2020-11-23 11:31:00 +01:00
vmlinux.lds.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00