1. NAME▲

kernel_restart - reboot the system

2. SYNOPSIS ▲

void kernel_restart(char *  cmd );

3. ARGUMENTS ▲

cmd
    pointer to buffer containing command to execute for restart or NULL

4. DESCRIPTION ▲

Shutdown everything and perform a clean reboot. This is not safe to call in interrupt context.

5. COPYRIGHT ▲