summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-05-24 20:17:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-05-24 20:17:02 +0000
commit133ddf2ed6212bff27cee48357a41fd07a9673c3 (patch)
tree6d9ab27fc94d00b97db31d356c809a6603a25d92 /c/src/lib/libcpu
parent907af7dc2ef15f362cd21e699291cbb417cbb1d1 (diff)
downloadrtems-133ddf2ed6212bff27cee48357a41fd07a9673c3.tar.bz2
2001-05-24 Tom Armistead <tom_armistead@phx.mcd.mot.com>
* mpc6xx/timer/timer.c: Added include of bsp.h and removed external declaration of BSP_Convert_decrementer() to correct unresolved reference to this routine.
Diffstat (limited to 'c/src/lib/libcpu')
-rw-r--r--c/src/lib/libcpu/powerpc/ChangeLog6
-rw-r--r--c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c3
2 files changed, 7 insertions, 2 deletions
diff --git a/c/src/lib/libcpu/powerpc/ChangeLog b/c/src/lib/libcpu/powerpc/ChangeLog
index e40ad44055..055cda9c3b 100644
--- a/c/src/lib/libcpu/powerpc/ChangeLog
+++ b/c/src/lib/libcpu/powerpc/ChangeLog
@@ -1,3 +1,9 @@
+2001-05-24 Tom Armistead <tom_armistead@phx.mcd.mot.com>
+
+ * mpc6xx/timer/timer.c: Added include of bsp.h and removed
+ external declaration of BSP_Convert_decrementer() to
+ correct unresolved reference to this routine.
+
2001-05-24 Eric Valette <valette@crf.canon.fr>
* mpc8xx/console-generic/console-generic.c: Bug found by Yacine
diff --git a/c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c b/c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c
index 3cabbb5a0c..c722ad31ce 100644
--- a/c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c
+++ b/c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c
@@ -17,6 +17,7 @@
#include <assert.h>
#include <rtems.h>
#include <libcpu/cpu.h>
+#include <bsp.h>
rtems_unsigned64 Timer_driver_Start_time;
@@ -57,8 +58,6 @@ void Timer_initialize()
* Read_timer
*/
-extern int BSP_Convert_decrementer( unsigned32 );
-
int Read_timer()
{
rtems_unsigned64 total64;