diff options
author | Alexey Dobriyan <adobriyan@sw.ru> | 2007-10-18 23:39:16 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 11:53:34 -0700 |
commit | fe9d4f576324999ac521c931f3b3eee0c8e45544 (patch) | |
tree | 8ff6ad770e15e81d00c87b945cb60326f28aee6b /include/linux/notifier.h | |
parent | 3ed75eb8f1cd89565966599c4f77d2edb086d5b0 (diff) |
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.h | 2 |
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 */ |