diff options
Diffstat (limited to 'arch/arc/kernel/time.c')
-rw-r--r-- | arch/arc/kernel/time.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arc/kernel/time.c b/arch/arc/kernel/time.c index 05dba11fdb2d..0ce0e6f76eb0 100644 --- a/arch/arc/kernel/time.c +++ b/arch/arc/kernel/time.c | |||
@@ -43,6 +43,7 @@ | |||
43 | #include <asm/irq.h> | 43 | #include <asm/irq.h> |
44 | #include <asm/arcregs.h> | 44 | #include <asm/arcregs.h> |
45 | #include <asm/clk.h> | 45 | #include <asm/clk.h> |
46 | #include <asm/mach_desc.h> | ||
46 | 47 | ||
47 | #define ARC_TIMER_MAX 0xFFFFFFFF | 48 | #define ARC_TIMER_MAX 0xFFFFFFFF |
48 | 49 | ||
@@ -258,6 +259,9 @@ void __init time_init(void) | |||
258 | 259 | ||
259 | /* sets up the periodic event timer */ | 260 | /* sets up the periodic event timer */ |
260 | arc_local_timer_setup(smp_processor_id()); | 261 | arc_local_timer_setup(smp_processor_id()); |
262 | |||
263 | if (machine_desc->init_time) | ||
264 | machine_desc->init_time(); | ||
261 | } | 265 | } |
262 | 266 | ||
263 | #ifdef CONFIG_ARC_HAS_RTSC | 267 | #ifdef CONFIG_ARC_HAS_RTSC |