aboutsummaryrefslogtreecommitdiffstats
path: root/arch/openrisc/include/asm/timex.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/openrisc/include/asm/timex.h')
-rw-r--r--arch/openrisc/include/asm/timex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/openrisc/include/asm/timex.h b/arch/openrisc/include/asm/timex.h
index 9935cad1b9b9..34d015bf0462 100644
--- a/arch/openrisc/include/asm/timex.h
+++ b/arch/openrisc/include/asm/timex.h
@@ -27,6 +27,7 @@ static inline cycles_t get_cycles(void)
{
return mfspr(SPR_TTCR);
}
+#define get_cycles get_cycles
/* This isn't really used any more */
#define CLOCK_TICK_RATE 1000