On Wed, Apr 1, 2015 at 3:22 PM, Anshuman Khandual
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
--
To
On 04/01/2015 08:47 AM, Joel Stanley wrote:
> Hi Andrew,
>
> On Wed, Apr 1, 2015 at 9:09 AM, Andrew Morton
> wrote:
>> > On Mon, 30 Mar 2015 12:45:32 +1030 Joel Stanley wrote:
>> >
>>> >> The kernel has orderly_poweroff which allows the kernel to initiate a
>>> >> graceful shutdown of userspace
On Tue, 31 Mar 2015 22:03:26 -0700 Andrew Morton
wrote:
> static char reboot_cmd[] = "/sbin/reboot";
static const char, actually.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.
On Wed, 01 Apr 2015 10:22:08 +0530 Anshuman Khandual
wrote:
> > char poweroff_cmd[POWEROFF_CMD_PATH_LEN] = "/sbin/poweroff";
> > +char reboot_cmd[POWEROFF_CMD_PATH_LEN] = "/sbin/reboot";
>
> Should not we declare one more REBOOT_CMD_PATH_LEN to make it cleaner.
It doesn't really seem necessar
On 03/30/2015 07:45 AM, Joel Stanley wrote:
> The kernel has orderly_poweroff which allows the kernel to initiate a
> graceful shutdown of userspace, by running /sbin/poweroff. This adds
> orderly_reboot that will cause userspace to shut itself down by calling
> /sbin/reboot.
>
> This will be used
Hi Andrew,
On Wed, Apr 1, 2015 at 9:09 AM, Andrew Morton wrote:
> On Mon, 30 Mar 2015 12:45:32 +1030 Joel Stanley wrote:
>
>> The kernel has orderly_poweroff which allows the kernel to initiate a
>> graceful shutdown of userspace, by running /sbin/poweroff. This adds
>> orderly_reboot that will
On Mon, 30 Mar 2015 12:45:32 +1030 Joel Stanley wrote:
> The kernel has orderly_poweroff which allows the kernel to initiate a
> graceful shutdown of userspace, by running /sbin/poweroff. This adds
> orderly_reboot that will cause userspace to shut itself down by calling
> /sbin/reboot.
>
> This
The kernel has orderly_poweroff which allows the kernel to initiate a
graceful shutdown of userspace, by running /sbin/poweroff. This adds
orderly_reboot that will cause userspace to shut itself down by calling
/sbin/reboot.
This will be used for shutdown initiated by a system controller on
platfo
8 matches
Mail list logo