]> git.sur5r.net Git - u-boot/blobdiff - arch/mips/cpu/mips32/time.c
Merge git://git.denx.de/u-boot-arm
[u-boot] / arch / mips / cpu / mips32 / time.c
index 9f5cea4d8fd2f9f9514c132007c26444ff89fb10..386f45a1b062014fa2f9d6aa15d8a8d8ba5f16db 100644 (file)
@@ -11,7 +11,8 @@
 static unsigned long timestamp;
 
 /* how many counter cycles in a jiffy */
-#define CYCLES_PER_JIFFY       (CONFIG_SYS_MIPS_TIMER_FREQ + CONFIG_SYS_HZ / 2) / CONFIG_SYS_HZ
+#define CYCLES_PER_JIFFY       \
+       (CONFIG_SYS_MIPS_TIMER_FREQ + CONFIG_SYS_HZ / 2) / CONFIG_SYS_HZ
 
 /*
  * timer without interrupts
@@ -38,7 +39,7 @@ ulong get_timer(ulong base)
        }
        write_c0_compare(expirelo);
 
-       return (timestamp - base);
+       return timestamp - base;
 }
 
 void __udelay(unsigned long usec)