summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/mrm332
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-02-09 12:15:54 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-02-09 12:15:54 +0000
commit26c173775a7f6ac412d0715ede1ab86a1f9169a9 (patch)
treeac8b1f5b02947032ceadeb724c0bb80b8baf3099 /c/src/lib/libbsp/m68k/mrm332
parent2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-26c173775a7f6ac412d0715ede1ab86a1f9169a9.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/m68k/mrm332')
-rw-r--r--c/src/lib/libbsp/m68k/mrm332/ChangeLog5
-rw-r--r--c/src/lib/libbsp/m68k/mrm332/timer/timer.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/m68k/mrm332/ChangeLog b/c/src/lib/libbsp/m68k/mrm332/ChangeLog
index 1e0ea0d75a..6d909fb50c 100644
--- a/c/src/lib/libbsp/m68k/mrm332/ChangeLog
+++ b/c/src/lib/libbsp/m68k/mrm332/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * timer/timer.c: Include <rtems/btimer.h>.
+ Fix benchmark_timer_read() definition.
+
2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
diff --git a/c/src/lib/libbsp/m68k/mrm332/timer/timer.c b/c/src/lib/libbsp/m68k/mrm332/timer/timer.c
index 7d386ad9c2..93e80bda86 100644
--- a/c/src/lib/libbsp/m68k/mrm332/timer/timer.c
+++ b/c/src/lib/libbsp/m68k/mrm332/timer/timer.c
@@ -9,6 +9,7 @@
* $Id$
*/
+#include <rtems/btimer.h>
#include <bsp.h>
bool benchmark_timer_find_average_overhead;
@@ -39,7 +40,7 @@ void benchmark_timer_initialize( void )
/*
* Return timer value in 1/2-microsecond units
*/
-int benchmark_timer_read( void )
+uint32_t benchmark_timer_read( void )
{
uint32_t total;
total = 0;