we can not use reboot function from stock kernel if kernel is compiled without kexec, it will fail