diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-05-20 04:50:52 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-05-20 04:50:52 -0400 |
commit | c0e299b1a91cbdb21ae08e382a4176200398bc36 (patch) | |
tree | 096a6b082fcf1bd816d78654057d11af823361c5 /kernel/time/clocksource.c | |
parent | 257313b2a87795e07a0bdf58d0fffbdba8b31051 (diff) |
clockevents/source: Use u64 to make 32bit happy
unsigned long is not 64bit on 32bit machine.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/time/clocksource.c')
-rw-r--r-- | kernel/time/clocksource.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |