]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
reboot: move reboot_notifier_list to kernel/reboot.c
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 12 Oct 2024 17:52:53 +0000 (19:52 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 6 Nov 2024 01:12:31 +0000 (17:12 -0800)
commitf2fa0fd4e7db8326a77618962714924b64f5f889
tree204fb8c42b08b02dba47cc253e2ade1e88ce321d
parent834b251b1db6b88b9364955196e5e32746e5ccc7
reboot: move reboot_notifier_list to kernel/reboot.c

All the functions related to the reboot notifier list are in
kernel/reboot.c.  Move the list itself, too.  As there are no direct users
anymore, make the declaration static.

Link: https://lkml.kernel.org/r/20241012-reboot_notifier_list-v1-1-6093bb9455ce@weissschuh.net
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/notifier.h
kernel/notifier.c
kernel/reboot.c