aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2014-10-01 11:04:37 +0200
committerHeiko Stuebner <heiko@sntech.de>2014-10-01 11:04:37 +0200
commitaec1d96c530674f634730bbc604a807f1ba65bfb (patch)
treeda253fde79d42ae7e0e34e045c8848763f22910b /include/linux
parentclk: rockchip: rk3288: i2s_frac adds flag to set parent's rate (diff)
parentarm/arm64: unexport restart handlers (diff)
downloadlinux-dev-aec1d96c530674f634730bbc604a807f1ba65bfb.tar.xz
linux-dev-aec1d96c530674f634730bbc604a807f1ba65bfb.zip
Merge tag 'tags/restart-handler-for-v3.18' into v3.18-next/cpuclk
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.