[PATCH 1/2] kernel/reboot.c: Add orderly_reboot for graceful reboot

Joel Stanley joel at jms.id.au
Wed Apr 1 16:32:39 AEDT 2015


On Wed, Apr 1, 2015 at 3:22 PM, Anshuman Khandual
<khandual at linux.vnet.ibm.com> wrote:
>> +static int __orderly_poweroff(bool force)
>> +{
>> +     int ret;
>> +
>> +     ret = run_cmd(reboot_cmd);
>
> Would it be poweroff_cmd instead of reboot_cmd ? Dont see poweroff_cmd getting used.

Yes, good catch. Thanks.

Joel


More information about the Linuxppc-dev mailing list