summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/erc32
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-02-09 06:33:58 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-02-09 06:33:58 +0000
commitec54b2b5e8e1290e59ad0b19ebb168b34eee5dd7 (patch)
tree1fbad6935628c029d628ae6c1bedc3d87516ac1b /c/src/lib/libbsp/sparc/erc32
parent2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-ec54b2b5e8e1290e59ad0b19ebb168b34eee5dd7.tar.bz2
2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>. Fix benchmark_timer_read() definition.
Diffstat (limited to 'c/src/lib/libbsp/sparc/erc32')
-rw-r--r--c/src/lib/libbsp/sparc/erc32/ChangeLog5
-rw-r--r--c/src/lib/libbsp/sparc/erc32/timer/timer.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/sparc/erc32/ChangeLog b/c/src/lib/libbsp/sparc/erc32/ChangeLog
index b1274faad0..3e84f6e077 100644
--- a/c/src/lib/libbsp/sparc/erc32/ChangeLog
+++ b/c/src/lib/libbsp/sparc/erc32/ChangeLog
@@ -1,5 +1,10 @@
2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
+ * timer/timer.c: Include <rtems/btimer.h>.
+ Fix benchmark_timer_read() definition.
+
+2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
+
* make/custom/erc32.cfg: Remove -ftest-coverage.
2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
diff --git a/c/src/lib/libbsp/sparc/erc32/timer/timer.c b/c/src/lib/libbsp/sparc/erc32/timer/timer.c
index 39a0bc2b48..fe8b95ae02 100644
--- a/c/src/lib/libbsp/sparc/erc32/timer/timer.c
+++ b/c/src/lib/libbsp/sparc/erc32/timer/timer.c
@@ -21,6 +21,7 @@
*/
#include <bsp.h>
+#include <rtems/btimer.h>
bool benchmark_timer_find_average_overhead;
@@ -63,7 +64,7 @@ void benchmark_timer_initialize(void)
#define LEAST_VALID 13 /* Don't trust a value lower than this */
#endif
-int benchmark_timer_read(void)
+uint32_t benchmark_timer_read(void)
{
uint32_t total;