[PATCH 79/83] libbsp/sparc64/shared/clock/ckinit.c: Add include of <rtems/clockdrv.h>

Joel Sherrill joel at rtems.org
Sun Mar 27 23:45:52 UTC 2016


---
 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;
-- 
1.8.3.1




More information about the devel mailing list