Messages in this thread | | | Date | Fri, 13 May 2011 12:59:20 +0200 | Subject | Re: [PATCH] ARM: twd: Adjust localtimer frequency withcpufreqnotifiers | From | Linus Walleij <> |
| |
2011/5/13 Thomas Gleixner <tglx@linutronix.de>:
> Does the following work for you ?
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.
So this patch in combination with TGLX add-on in the CPUfreq path would eliminate the need of using the prescaler at all, which is a more appealing solution to me for one, since it results in less code.
Colin, do you think it will work? Or was there some specific reason to use a dynamic prescaler instead of doing things like this?
Yours, Linus Walleij
| |