Re: [PATCH] ARM: twd: Adjust localtimer frequency withcpufreqnotifiers

From: Linus Walleij
Date: Fri May 13 2011 - 06:59:25 EST


2011/5/13 Thomas Gleixner <tglx@xxxxxxxxxxxxx>:

> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/