1KERNEL_RESTART(9) Driver Basics KERNEL_RESTART(9)
23
4
NAME
6kernel_restart - reboot the system
7
SYNOPSIS
9void kernel_restart(char * cmd);
10
ARGUMENTS
12cmd
13pointer to buffer containing command to execute for restart or NULL
14
DESCRIPTION
16Shutdown everything and perform a clean reboot. This is not safe to
17call in interrupt context.
18
COPYRIGHT
20Kernel Hackers Manual 2.6. June 2019 KERNEL_RESTART(9)