Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932206Ab1EMVPo (ORCPT ); Fri, 13 May 2011 17:15:44 -0400 Received: from caramon.arm.linux.org.uk ([78.32.30.218]:46659 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755483Ab1EMVPn (ORCPT ); Fri, 13 May 2011 17:15:43 -0400 Date: Fri, 13 May 2011 22:15:12 +0100 From: Russell King - ARM Linux To: Linus Walleij Cc: Thomas Gleixner , Colin Cross , Santosh Shilimkar , Srinidhi KASAGAR , Harald Gustafsson , linux-kernel@vger.kernel.org, Rickard ANDERSSON , martin persson , Varun Swara , Catalin Marinas , linux-arm-kernel@lists.infradead.org, Jonas =?iso-8859-1?Q?=C5berg?= Subject: Re: [PATCH] ARM: twd: Adjust localtimer frequency withcpufreqnotifiers Message-ID: <20110513211512.GA30539@n2100.arm.linux.org.uk> References: <4D714C17.7080102@gmail.com> <7e9fafa016bfe536ccc373fc2cc7ba61@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 679 Lines: 13 On Fri, May 13, 2011 at 12:59:20PM +0200, Linus Walleij wrote: > This patch is interesting because it uses calc_mult_shift() and the current > localtimer driver for TWD (arch/arm/kernel/smp_twd.c) still uses hardcoded > mult+shift. I don't think there's any reason it uses a hard coded shift, just that's what was the norm when the code was originally written. It (and many other clock event code) probably could do with an update. -- 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/