From: Josh Boyer Date: Fri, 04 Apr 2008 01:59:27 +0000 Subject: Re: [kvm-ppc-devel] [PATCH] Add idle wait support for 44x platforms Message-Id: <20080403205927.16fc0ae7@zod.rchland.ibm.com> List-Id: References: <7226bef216680748a503.1207262582@thinkpadL> <20080403230356.GJ20457@bakeyournoodle.com> In-Reply-To: <20080403230356.GJ20457@bakeyournoodle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Tony Breeds Cc: kvm-ppc-devel@lists.sourceforge.net, linuxppc-dev@ozlabs.org On Fri, 4 Apr 2008 10:03:56 +1100 tony@bakeyournoodle.com (Tony Breeds) wrote: > > +int __init ppc44x_idle_init(void) > > +{ > > + if(of_find_node_by_path("/hypervisor") != NULL) { > ^ space > > + /* if we find /hypervisor node is in device tree, > > + set idle mode to wait */ > > + current_mode = 1; /* wait mode */ > > + } > > You don't really need the braces {} here. They are technically not required, but I like them there none the less because of the multi-line comment. I find it to be better style personally. josh ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ kvm-ppc-devel mailing list kvm-ppc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel