diff options
author | Alexey Dobriyan <adobriyan@sw.ru> | 2007-10-19 02:39:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 14:53:34 -0400 |
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) | |||
240 | #define KBD_KEYSYM 0x0004 /* Keyboard keysym */ | 240 | #define KBD_KEYSYM 0x0004 /* Keyboard keysym */ |
241 | #define KBD_POST_KEYSYM 0x0005 /* Called after keyboard keysym interpretation */ | 241 | #define KBD_POST_KEYSYM 0x0005 /* Called after keyboard keysym interpretation */ |
242 | 242 | ||
243 | extern struct blocking_notifier_head reboot_notifier_list; | ||
244 | |||
243 | #endif /* __KERNEL__ */ | 245 | #endif /* __KERNEL__ */ |
244 | #endif /* _LINUX_NOTIFIER_H */ | 246 | #endif /* _LINUX_NOTIFIER_H */ |