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/clockevents.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/clockevents.c')
-rw-r--r-- | kernel/time/clockevents.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |