notifiers: sys: move reboot notifiers into reboot.h
It is not necessary to share the same notifier.h. This patch already moves register_reboot_notifier() and unregister_reboot_notifier() from kernel/notifier.c to kernel/sys.c. [amwang@redhat.com: make allyesconfig succeed on ppc64] Signed-off-by:WANG Cong <amwang@redhat.com> Cc: David Miller <davem@davemloft.net> Cc: "Rafael J. Wysocki" <rjw@sisk.pl> Cc: Greg KH <greg@kroah.com> Signed-off-by:
WANG Cong <amwang@redhat.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/powerpc/kernel/rtas.c 1 addition, 0 deletionsarch/powerpc/kernel/rtas.c
- arch/powerpc/kernel/rtas_flash.c 1 addition, 0 deletionsarch/powerpc/kernel/rtas_flash.c
- include/linux/notifier.h 1 addition, 4 deletionsinclude/linux/notifier.h
- include/linux/reboot.h 5 additions, 0 deletionsinclude/linux/reboot.h
- kernel/notifier.c 0 additions, 31 deletionskernel/notifier.c
- kernel/sys.c 31 additions, 1 deletionkernel/sys.c
Loading
Please register or sign in to comment