Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752542AbZIOWUr (ORCPT ); Tue, 15 Sep 2009 18:20:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751221AbZIOWUm (ORCPT ); Tue, 15 Sep 2009 18:20:42 -0400 Received: from gateway-1237.mvista.com ([63.81.120.158]:58542 "EHLO gateway-1237.mvista.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751163AbZIOWUl (ORCPT ); Tue, 15 Sep 2009 18:20:41 -0400 Subject: Re: [PATCH] arm: remove unused code in delay.S From: Steve Chen To: Krzysztof Halasa Cc: Felipe Contreras , Russell King - ARM Linux , Jamie Lokier , linux-kernel@vger.kernel.org, Marek Vasut , Pavel Machek , linux-arm-kernel@lists.infradead.org In-Reply-To: References: <1252875960-21512-1-git-send-email-felipe.contreras@gmail.com> <20090915103739.GA19519@elf.ucw.cz> <1253017761.3273.117.camel@linux-1lbu> <200909151541.08852.marek.vasut@gmail.com> <1253032210.3273.128.camel@linux-1lbu> <94a0d4530909151158y489a96e3x63ff932c713822b0@mail.gmail.com> <1253043875.3273.131.camel@linux-1lbu> Content-Type: text/plain Date: Tue, 15 Sep 2009 17:26:49 -0500 Message-Id: <1253053609.3273.139.camel@linux-1lbu> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1109 Lines: 33 On Tue, 2009-09-15 at 23:04 +0200, Krzysztof Halasa wrote: > Steve Chen writes: > > > +config OLD_CPU_DELAY > > + depends on CPU_32v3 || CPU_32v4 || CPU_32v4T > > + bool "Accurate delays" > > + def_bool n > > + help > > + Enable if observing longer than expected delays and need more > > + accuracy. This only applies to older CPUs. > > + > > If it's that simple then why not enable the extra delay code > unconditionally when compiling for those CPUs? > > We don't need "do something better" options. If I know for sure that these are the processors that need that block of code, your suggestion makes perfect sense. Unfortunately, I don't know. My primary goals are 1. Put a stop to this thread (so far I have failed miserably) 2. Document that block of code. 3. If it makes someone's life easier.. it would be a bonus. Steve -- 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/