summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/mpc6xx
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/powerpc/mpc6xx
parent2001-05-24 Eric Valette <valette@crf.canon.fr> (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/powerpc/mpc6xx')
-rw-r--r--c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c3
1 files changed, 1 insertions, 2 deletions
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;