summaryrefslogtreecommitdiffstats
path: root/arch/tile/include/asm/timex.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tile/include/asm/timex.h')
-rw-r--r--arch/tile/include/asm/timex.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/tile/include/asm/timex.h b/arch/tile/include/asm/timex.h
index 3baf5fc4c0a1..29921f0b86da 100644
--- a/arch/tile/include/asm/timex.h
+++ b/arch/tile/include/asm/timex.h
@@ -38,6 +38,9 @@ static inline cycles_t get_cycles(void)
cycles_t get_clock_rate(void);
+/* Convert nanoseconds to core clock cycles. */
+cycles_t ns2cycles(unsigned long nsecs);
+
/* Called at cpu initialization to set some low-level constants. */
void setup_clock(void);