Re: [Patch -v3 2/4] Move shutdown/reboot related functions tokernel/reboot.c

From: Joe Perches
Date: Mon Apr 15 2013 - 13:38:33 EST


On Mon, 2013-04-15 at 12:15 -0500, Robin Holt wrote:
> This patch is preparatory. It moves reboot related syscall, etc
> functions from kernel/sys.c to kernel/reboot.c.
[]
> diff --git a/kernel/reboot.c b/kernel/reboot.c
[]
> +#ifdef CONFIG_HIBERNATION
> + case LINUX_REBOOT_CMD_SW_SUSPEND:
> + ret = hibernate();
> + break;
> +#endif

Doesn't compile. needs suspend.h



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/