summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/reboot.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/reboot.c b/kernel/reboot.c
index f348f1ba9e22..6185cfe5d4ee 100644
--- a/kernel/reboot.c
+++ b/kernel/reboot.c
@@ -229,6 +229,9 @@ EXPORT_SYMBOL(unregister_restart_handler);
/**
* do_kernel_restart - Execute kernel restart handler call chain
*
+ * @cmd: pointer to buffer containing command to execute for restart
+ * or %NULL
+ *
* Calls functions registered with register_restart_handler.
*
* Expected to be called from machine_restart as last step of the restart