aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sys.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sys.c')
-rw-r--r--kernel/sys.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/sys.c b/kernel/sys.c
index 7e0927bad713..2d5179c67cec 100644
--- a/kernel/sys.c
+++ b/kernel/sys.c
@@ -589,7 +589,7 @@ void emergency_restart(void)
589} 589}
590EXPORT_SYMBOL_GPL(emergency_restart); 590EXPORT_SYMBOL_GPL(emergency_restart);
591 591
592void kernel_restart_prepare(char *cmd) 592static void kernel_restart_prepare(char *cmd)
593{ 593{
594 blocking_notifier_call_chain(&reboot_notifier_list, SYS_RESTART, cmd); 594 blocking_notifier_call_chain(&reboot_notifier_list, SYS_RESTART, cmd);
595 system_state = SYSTEM_RESTART; 595 system_state = SYSTEM_RESTART;
@@ -623,7 +623,7 @@ EXPORT_SYMBOL_GPL(kernel_restart);
623 * Move into place and start executing a preloaded standalone 623 * Move into place and start executing a preloaded standalone
624 * executable. If nothing was preloaded return an error. 624 * executable. If nothing was preloaded return an error.
625 */ 625 */
626void kernel_kexec(void) 626static void kernel_kexec(void)
627{ 627{
628#ifdef CONFIG_KEXEC 628#ifdef CONFIG_KEXEC
629 struct kimage *image; 629 struct kimage *image;
@@ -637,7 +637,6 @@ void kernel_kexec(void)
637 machine_kexec(image); 637 machine_kexec(image);
638#endif 638#endif
639} 639}
640EXPORT_SYMBOL_GPL(kernel_kexec);
641 640
642void kernel_shutdown_prepare(enum system_states state) 641void kernel_shutdown_prepare(enum system_states state)
643{ 642{