aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristopher Kenna <cjk@cs.unc.edu>2012-10-22 16:17:48 -0400
committerChristopher Kenna <cjk@cs.unc.edu>2012-10-22 16:19:29 -0400
commit2b4b7e1362910eda268ea25124c83064119a522c (patch)
tree64927e655e3d6121fbfd9c8449c1f489a54ce7e0 /include
parentf47cc33e99cec21a323d751abc4a38afb7ef5da2 (diff)
Bugfixed for ARM systems.
Compile with CONFIG_NP_SECTION=y Signed-off-by: Christopher Kenna <cjk@cs.unc.edu>
Diffstat (limited to 'include')
-rw-r--r--include/litmus/clock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/litmus/clock.h b/include/litmus/clock.h
index d6f1cfd2ca60..9b285db7f60c 100644
--- a/include/litmus/clock.h
+++ b/include/litmus/clock.h
@@ -24,6 +24,8 @@ static inline s64 litmus_cycles_to_ns(cycles_t cycles)
24 24
25#elif defined(CONFIG_CPU_V7) && !defined(CONFIG_HW_PERF_EVENTS) 25#elif defined(CONFIG_CPU_V7) && !defined(CONFIG_HW_PERF_EVENTS)
26 26
27#include <asm/timex.h>
28
27static inline cycles_t v7_get_cycles (void) 29static inline cycles_t v7_get_cycles (void)
28{ 30{
29 u32 value; 31 u32 value;