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:
@@ -32,7 +32,9 @@ EXPORT_SYMBOL(cad_pid);
|
|||||||
#define DEFAULT_REBOOT_MODE
|
#define DEFAULT_REBOOT_MODE
|
||||||
#endif
|
#endif
|
||||||
enum reboot_mode reboot_mode DEFAULT_REBOOT_MODE;
|
enum reboot_mode reboot_mode DEFAULT_REBOOT_MODE;
|
||||||
|
EXPORT_SYMBOL_GPL(reboot_mode);
|
||||||
enum reboot_mode panic_reboot_mode = REBOOT_UNDEFINED;
|
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
|
* This variable is used privately to keep track of whether or not
|
||||||
|
|||||||
Reference in New Issue
Block a user