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 d52b4e536e3f..5487fa93dd9b 100644
--- a/arch/openrisc/include/asm/timex.h
+++ b/arch/openrisc/include/asm/timex.h
@@ -23,6 +23,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