From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Fri, 13 May 2011 22:15:12 +0100 Subject: [PATCH] ARM: twd: Adjust localtimer frequency withcpufreqnotifiers In-Reply-To: References: <4D714C17.7080102@gmail.com> <7e9fafa016bfe536ccc373fc2cc7ba61@mail.gmail.com> Message-ID: <20110513211512.GA30539@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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.