Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 22 Aug 2002 13:31:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 22 Aug 2002 13:31:53 -0400 Received: from AMarseille-201-1-2-125.abo.wanadoo.fr ([193.253.217.125]:20592 "EHLO zion.wanadoo.fr") by vger.kernel.org with ESMTP id ; Thu, 22 Aug 2002 13:30:58 -0400 From: Benjamin Herrenschmidt To: Dominik Brodowski , Gabriel Paubert Cc: Yoann Vandoorselaere , , , Subject: Re: [PATCH]: fix 32bits integer overflow in loops_per_jiffy calculation Date: Thu, 22 Aug 2002 21:35:16 +0200 Message-Id: <20020822193516.15445@192.168.4.1> In-Reply-To: <20020822185107.A1160@brodo.de> References: <20020822185107.A1160@brodo.de> X-Mailer: CTM PowerMail 3.1.2 carbon MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 669 Lines: 17 >IMHO per-arch functions are really not needed. The only architectures which >have CPUFreq drivers by now are ARM and i386. This will change, hopefully; >IMHO it should be enough to include some basic limit checking in >cpufreq_scale(). In this specific case, we were talking about PPC since the problem occured when I implemented cpufreq support to switch the speed of the latest powerbooks between 667 and 800Mhz Ben. - 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/