Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit adcba6dd authored by Elliot Berman's avatar Elliot Berman Committed by Todd Kjos
Browse files

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: default avatarElliot Berman <eberman@codeaurora.org>
Reviewed-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6b1859f6
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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