aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/time/clockevents.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/time/clockevents.c')
-rw-r--r--kernel/time/clockevents.c2
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);
197static void clockevents_config(struct clock_event_device *dev, 197static 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;