aboutsummaryrefslogtreecommitdiff
path: root/src/util/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/time.h')
-rw-r--r--src/util/time.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/time.h b/src/util/time.h
index 13875e2..f6dacb0 100644
--- a/src/util/time.h
+++ b/src/util/time.h
@@ -9,7 +9,8 @@ unsigned long read_cntv_tval(void);
void write_cntv_tval(unsigned long val);
unsigned long read_cntfrq(void);
-static inline void enablecntv(void) {
+static inline void enablecntv(void)
+{
unsigned long cntv_ctl;
cntv_ctl = 1;
asm volatile ("mcr p15, 0, %0, c14, c3, 1" :: "r"(cntv_ctl) ); // write CNTV_CTL