summaryrefslogtreecommitdiffstats
path: root/kernel/notifier.c
diff options
context:
space:
mode:
authorAdrian Bunk2008-02-06 10:36:46 +0100
committerLinus Torvalds2008-02-06 19:41:02 +0100
commitc166f23cb56a76983ce860739d95c8296e57d6b3 (patch)
tree2160c0a36a673f6eae0996900787d4e9fe256a37 /kernel/notifier.c
parentmake srcu_readers_active() static (diff)
downloadkernel-qcow2-linux-c166f23cb56a76983ce860739d95c8296e57d6b3.tar.gz
kernel-qcow2-linux-c166f23cb56a76983ce860739d95c8296e57d6b3.tar.xz
kernel-qcow2-linux-c166f23cb56a76983ce860739d95c8296e57d6b3.zip
kernel/notifier.c should #include <linux/reboot.h>
Every file should include the headers containing the prototypes for its global functions (in this case {,un}register_reboot_notifier()). Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/notifier.c')
-rw-r--r--kernel/notifier.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/notifier.c b/kernel/notifier.c
index 4253f472f060..643360d1bb14 100644
--- a/kernel/notifier.c
+++ b/kernel/notifier.c
@@ -4,6 +4,7 @@
#include <linux/notifier.h>
#include <linux/rcupdate.h>
#include <linux/vmalloc.h>
+#include <linux/reboot.h>
/*
* Notifier list for kernel code which wants to be called