diff options
Diffstat (limited to 'arch/arm/mach-iop3xx/iop321-time.c')
-rw-r--r-- | arch/arm/mach-iop3xx/iop321-time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-iop3xx/iop321-time.c b/arch/arm/mach-iop3xx/iop321-time.c index d53af1669502..0039793b694a 100644 --- a/arch/arm/mach-iop3xx/iop321-time.c +++ b/arch/arm/mach-iop3xx/iop321-time.c | |||
@@ -60,7 +60,7 @@ static unsigned long iop321_gettimeoffset(void) | |||
60 | /* | 60 | /* |
61 | * Now convert them to usec. | 61 | * Now convert them to usec. |
62 | */ | 62 | */ |
63 | usec = (unsigned long)(elapsed * (tick_nsec / 1000)) / LATCH; | 63 | usec = (unsigned long)(elapsed / (CLOCK_TICK_RATE/1000000)); |
64 | 64 | ||
65 | return usec; | 65 | return usec; |
66 | } | 66 | } |