mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
FROMLIST: reboot: Export reboot_mode
Export reboot_mode to support kernel modules wishing to modify reboot_mode. Change-Id: I8d25aec75331a57fab85c12b8527a329e2a4f19d Bug: 143964928 Link: https://lore.kernel.org/patchwork/patch/1151092/ Signed-off-by: Elliot Berman <eberman@codeaurora.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6b1859f66a
commit
adcba6dd6d
1 changed files with 2 additions and 0 deletions
|
|
@ -32,7 +32,9 @@ EXPORT_SYMBOL(cad_pid);
|
|||
#define DEFAULT_REBOOT_MODE
|
||||
#endif
|
||||
enum reboot_mode reboot_mode DEFAULT_REBOOT_MODE;
|
||||
EXPORT_SYMBOL_GPL(reboot_mode);
|
||||
enum reboot_mode panic_reboot_mode = REBOOT_UNDEFINED;
|
||||
EXPORT_SYMBOL_GPL(panic_reboot_mode);
|
||||
|
||||
/*
|
||||
* This variable is used privately to keep track of whether or not
|
||||
|
|
|
|||
Loading…
Reference in a new issue