diff --git a/kernel/reboot.c b/kernel/reboot.c index a6ad5eb2fa733fe2fd43e959c9a9fccd6c7dbb4a..31bf2611ee12f6af8763059b5cfa9762bad152d8 100644 --- a/kernel/reboot.c +++ b/kernel/reboot.c @@ -32,6 +32,7 @@ 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; /*