[rtems commit] libbsp/sparc64/shared/clock/ckinit.c: Add include of <rtems /clockdrv.h>
Joel Sherrill
joel at rtems.org
Mon Mar 28 18:43:35 UTC 2016
Module: rtems
Branch: master
Commit: 7fc05b363fce93876ba3423eb3f105e9fb88f6ec
Changeset: http://git.rtems.org/rtems/commit/?id=7fc05b363fce93876ba3423eb3f105e9fb88f6ec
Author: Joel Sherrill <joel at rtems.org>
Date: Sun Mar 27 18:37:48 2016 -0500
libbsp/sparc64/shared/clock/ckinit.c: Add include of <rtems/clockdrv.h>
---
c/src/lib/libbsp/sparc64/shared/clock/ckinit.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/c/src/lib/libbsp/sparc64/shared/clock/ckinit.c b/c/src/lib/libbsp/sparc64/shared/clock/ckinit.c
index ff0464c..3901166 100644
--- a/c/src/lib/libbsp/sparc64/shared/clock/ckinit.c
+++ b/c/src/lib/libbsp/sparc64/shared/clock/ckinit.c
@@ -43,7 +43,10 @@ static unsigned int get_Frequency(void)
return freq;
}
-static void Clock_driver_support_at_tick(void)
+#define Clock_driver_support_at_tick() \
+ Clock_driver_support_at_tick_helper()
+
+static void Clock_driver_support_at_tick_helper(void)
{
uint64_t tick_reg;
int bit_mask;
More information about the vc
mailing list