aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/notifier.h
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@sw.ru>2007-10-18 23:39:16 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-19 11:53:34 -0700
commitfe9d4f576324999ac521c931f3b3eee0c8e45544 (patch)
tree8ff6ad770e15e81d00c87b945cb60326f28aee6b /include/linux/notifier.h
parentsetup vma->vm_page_prot by vm_get_page_prot() (diff)
downloadlinux-dev-fe9d4f576324999ac521c931f3b3eee0c8e45544.tar.xz
linux-dev-fe9d4f576324999ac521c931f3b3eee0c8e45544.zip
Add kernel/notifier.c
There is separate notifier header, but no separate notifier .c file. Extract notifier code out of kernel/sys.c which will remain for misc syscalls I hope. Merge kernel/die_notifier.c into kernel/notifier.c. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/notifier.h')
-rw-r--r--include/linux/notifier.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/notifier.h b/include/linux/notifier.h
index bd3788084fa9..6ec7e21a3699 100644
--- a/include/linux/notifier.h
+++ b/include/linux/notifier.h
@@ -240,5 +240,7 @@ static inline int notifier_to_errno(int ret)
#define KBD_KEYSYM 0x0004 /* Keyboard keysym */
#define KBD_POST_KEYSYM 0x0005 /* Called after keyboard keysym interpretation */
+extern struct blocking_notifier_head reboot_notifier_list;
+
#endif /* __KERNEL__ */
#endif /* _LINUX_NOTIFIER_H */