notifiers: sys: move reboot notifiers into reboot.h
authorAmerigo Wang <amwang@redhat.com>
Tue, 26 Jul 2011 00:13:10 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 03:57:14 +0000 (20:57 -0700)
commitc5f41752fd37979dbaec61dc59c7ece0606ddf7e
tree47827a7fd86cbe4ad657d640b01e8b76535e8813
parentdcfe1421c916345b068f43749263b94270324500
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>
arch/powerpc/kernel/rtas.c
arch/powerpc/kernel/rtas_flash.c
include/linux/notifier.h
include/linux/reboot.h
kernel/notifier.c
kernel/sys.c