diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-20 16:38:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-20 16:38:28 -0400 |
commit | 102dc1bae12a20214c9ee2d33a7402dc5175e30d (patch) | |
tree | dbc2364c164db3743bd86ff02557369daac0fac4 | |
parent | 91444f47b2a0e50a15849f49db8c15382cd8de1b (diff) | |
parent | bbe7b8bef48c567f5ff3f6041c1fb011292e8f12 (diff) |
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:
MAINTAINERS: Add drivers/clocksource to TIMEKEEPING
clockevents/source: Use u64 to make 32bit happy
-rw-r--r-- | MAINTAINERS | 1 | ||||
-rw-r--r-- | kernel/time/clockevents.c | 2 | ||||
-rw-r--r-- | kernel/time/clocksource.c | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index ae67c34518cd..d76d63a4e89f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -5431,6 +5431,7 @@ F: include/linux/timex.h | |||
5431 | F: kernel/time/clocksource.c | 5431 | F: kernel/time/clocksource.c |
5432 | F: kernel/time/time*.c | 5432 | F: kernel/time/time*.c |
5433 | F: kernel/time/ntp.c | 5433 | F: kernel/time/ntp.c |
5434 | F: drivers/clocksource | ||
5434 | 5435 | ||
5435 | TLG2300 VIDEO4LINUX-2 DRIVER | 5436 | TLG2300 VIDEO4LINUX-2 DRIVER |
5436 | M: Huang Shijie <shijie8@gmail.com> | 5437 | M: Huang Shijie <shijie8@gmail.com> |
diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c index 22a9da9a9c96..c027d4f602f1 100644 --- a/kernel/time/clockevents.c +++ b/kernel/time/clockevents.c | |||
@@ -197,7 +197,7 @@ EXPORT_SYMBOL_GPL(clockevents_register_device); | |||
197 | static void clockevents_config(struct clock_event_device *dev, | 197 | static void clockevents_config(struct clock_event_device *dev, |
198 | u32 freq) | 198 | u32 freq) |
199 | { | 199 | { |
200 | unsigned long sec; | 200 | u64 sec; |
201 | 201 | ||
202 | if (!(dev->features & CLOCK_EVT_FEAT_ONESHOT)) | 202 | if (!(dev->features & CLOCK_EVT_FEAT_ONESHOT)) |
203 | return; | 203 | return; |
diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c index d9d5f8c885f6..1c95fd677328 100644 --- a/kernel/time/clocksource.c +++ b/kernel/time/clocksource.c | |||
@@ -639,7 +639,7 @@ static void clocksource_enqueue(struct clocksource *cs) | |||
639 | */ | 639 | */ |
640 | void __clocksource_updatefreq_scale(struct clocksource *cs, u32 scale, u32 freq) | 640 | void __clocksource_updatefreq_scale(struct clocksource *cs, u32 scale, u32 freq) |
641 | { | 641 | { |
642 | unsigned long sec; | 642 | u64 sec; |
643 | 643 | ||
644 | /* | 644 | /* |
645 | * Calc the maximum number of seconds which we can run before | 645 | * Calc the maximum number of seconds which we can run before |