rtc: Limit RTC PIE frequency
authorThomas Gleixner <tglx@linutronix.de>
Fri, 22 Jul 2011 09:12:51 +0000 (09:12 +0000)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 26 Jul 2011 21:50:01 +0000 (14:50 -0700)
The RTC pie hrtimer is self rearming. We really need to limit the
frequency to something sensible. Thus limit it to the 8192Hz max
value from the rtc man documentation

Cc: Willy Tarreau <w@1wt.eu>
Cc: stable@kernel.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
[jstultz: slightly reworked to use RTC_MAX_FREQ value]
Signed-off-by: John Stultz <john.stultz@linaro.org>

No differences found