summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu
diff options
context:
space:
mode:
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;