Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934715Ab3DORia (ORCPT ); Mon, 15 Apr 2013 13:38:30 -0400 Received: from perches-mx.perches.com ([206.117.179.246]:38332 "EHLO labridge.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756348Ab3DORi2 (ORCPT ); Mon, 15 Apr 2013 13:38:28 -0400 Message-ID: <1366047507.31131.2.camel@joe-AO722> Subject: Re: [Patch -v3 2/4] Move shutdown/reboot related functions to kernel/reboot.c From: Joe Perches To: Robin Holt Cc: Ingo Molnar , Russ Anderson , Shawn Guo , Oleg Nesterov , Andrew Morton , "H. Peter Anvin" , Lai Jiangshan , Linus Torvalds , Linux Kernel Mailing List , Michel Lespinasse , "Paul E. McKenney" , Paul Mackerras , Peter Zijlstra , "rusty@rustcorp.com.au" , Tejun Heo , the arch/x86 maintainers , Thomas Gleixner Date: Mon, 15 Apr 2013 10:38:27 -0700 In-Reply-To: <20130415171516.GG3672@sgi.com> References: <20130415171225.GC3658@sgi.com> <20130415171516.GG3672@sgi.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.6.2-0ubuntu0.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 621 Lines: 21 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/