summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSebastian Reichel <sre@kernel.org>2014-09-26 19:45:11 +0200
committerSebastian Reichel <sre@kernel.org>2014-09-26 19:45:11 +0200
commit1670d8569eeb5c5c15776d37b00a2afb5255bf28 (patch)
tree874ed86799a9f7a256087c1138c7af35f7f1e9a1 /include/linux
parentb08fec2262c8dbb349fe9456586cf0724407e5ee (diff)
parent6cd6d94d96d9b1cd8a62da91aac44cf56e301e75 (diff)
Merge tag 'tags/restart-handler-for-v3.18' into next
Immutable branch with restart handler patches for v3.18
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/reboot.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/reboot.h b/include/linux/reboot.h
index 48bf152761c7..67fc8fcdc4b0 100644
--- a/include/linux/reboot.h
+++ b/include/linux/reboot.h
@@ -38,6 +38,9 @@ extern int reboot_force;
extern int register_reboot_notifier(struct notifier_block *);
extern int unregister_reboot_notifier(struct notifier_block *);
+extern int register_restart_handler(struct notifier_block *);
+extern int unregister_restart_handler(struct notifier_block *);
+extern void do_kernel_restart(char *cmd);
/*
* Architecture-specific implementations of sys_reboot commands.