Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751997AbXAQDUS (ORCPT ); Tue, 16 Jan 2007 22:20:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752001AbXAQDUS (ORCPT ); Tue, 16 Jan 2007 22:20:18 -0500 Received: from gate.crashing.org ([63.228.1.57]:35331 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751999AbXAQDUN (ORCPT ); Tue, 16 Jan 2007 22:20:13 -0500 Subject: Re: [PATCH 35/59] sysctl: C99 convert ctl_tables in arch/powerpc/kernel/idle.c From: Benjamin Herrenschmidt To: "Eric W. Biederman" Cc: ", linux-mips@linux-mips.org, linux-parport@lists.infradead.org, heiko.carstens@de.ibm.com, ak@suse.de, linuxppc-dev@ozlabs.org, paulus@samba.org, aharkes@cs.cmu.edu, schwidefsky@de.ibm.com, tim@cyberelk.net, rtc-linux@googlegroups.com, linux-scsi@vger.kernel.org, kurt.hackel@oracle.com, coda@cs.cmu.edu, vojtech@suse.cz, linuxsh-shmedia-dev@lists.sourceforge.net, James.Bottomley@SteelEye.com, clemens@ladisch.de, xfs@oss.sgi.com, xfs-masters@oss.sgi.com, andrea@suse.de, openipmi-developer@lists.sourceforge.net, linux-390@vm.marist.edu, codalist@TELEMANN.coda.cs.cmu.edu, a.zummo@towertech.it, tony.luck@intel.com, linux-ntfs-dev@lists.sourceforge.net, netdev@vger.kernel.org, aia21@cantab.net, linux-kernel@vger.kernel.org, ralf@linux-mips.org, lethal@linux-sh.org, containers@lists.osdl.org, linux390@de.ibm.com, philb@gnu.org In-Reply-To: <11689656593247-git-send-email-ebiederm@xmission.com> References: <11689656593247-git-send-email-ebiederm@xmission.com> Content-Type: text/plain Date: Wed, 17 Jan 2007 14:16:27 +1100 Message-Id: <1169003787.4778.17.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1306 Lines: 44 On Tue, 2007-01-16 at 09:39 -0700, Eric W. Biederman wrote: > From: Eric W. Biederman - unquoted > > This was partially done already and there was no ABI breakage what > a relief. > > Signed-off-by: Eric W. Biederman Acked-by: Benjamin Herrenschmidt > --- > arch/powerpc/kernel/idle.c | 11 ++++++++--- > 1 files changed, 8 insertions(+), 3 deletions(-) > > diff --git a/arch/powerpc/kernel/idle.c b/arch/powerpc/kernel/idle.c > index 8994af3..8b27bb1 100644 > --- a/arch/powerpc/kernel/idle.c > +++ b/arch/powerpc/kernel/idle.c > @@ -110,11 +110,16 @@ static ctl_table powersave_nap_ctl_table[]={ > .mode = 0644, > .proc_handler = &proc_dointvec, > }, > - { 0, }, > + {} > }; > static ctl_table powersave_nap_sysctl_root[] = { > - { 1, "kernel", NULL, 0, 0755, powersave_nap_ctl_table, }, > - { 0,}, > + { > + .ctl_name = CTL_KERN, > + .procname = "kernel", > + .mode = 0755, > + .child = powersave_nap_ctl_table, > + }, > + {} > }; > > static int __init - 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/