summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-08-17 10:28:33 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-08-17 10:28:33 -0700
commit6cac95296034bed7b2716d5f4e417a26a618da94 (patch)
tree1a405f211c64f20359e42b3783d0487647da9822 /include
parent2da9f365fc401b79627bc7be56d8a2b4ee9b390b (diff)
parent6e7a333eaa522ef73be01caec7a01521490aaf00 (diff)
downloadlinux-stable-6cac95296034bed7b2716d5f4e417a26a618da94.tar.gz
linux-stable-6cac95296034bed7b2716d5f4e417a26a618da94.tar.bz2
linux-stable-6cac95296034bed7b2716d5f4e417a26a618da94.zip
Merge branch 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: rtc: Limit RTC PIE frequency rtc: Fix hrtimer deadlock rtc: Handle errors correctly in rtc_irq_set_state() Fixup trivial conflicts in drivers/rtc/interface.c due to slightly trivially versions of the same patch coming in two different ways.
Diffstat (limited to 'include')
-rw-r--r--include/linux/rtc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/rtc.h b/include/linux/rtc.h
index b27ebea25660..93f4d035076b 100644
--- a/include/linux/rtc.h
+++ b/include/linux/rtc.h
@@ -97,6 +97,9 @@ struct rtc_pll_info {
#define RTC_AF 0x20 /* Alarm interrupt */
#define RTC_UF 0x10 /* Update interrupt for 1Hz RTC */
+
+#define RTC_MAX_FREQ 8192
+
#ifdef __KERNEL__
#include <linux/types.h>