summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/mpc8260/timer/timer.c
diff options
context:
space:
mode:
authorThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2009-11-03 18:45:04 +0000
committerThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2009-11-03 18:45:04 +0000
commite08dbc5ea9ec881b6fc93cf926c18fb094d3bd55 (patch)
tree465630c9bb6a962362ed043b9bb0bc4c5505a3a5 /c/src/lib/libcpu/powerpc/mpc8260/timer/timer.c
parent2009-11-03 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-e08dbc5ea9ec881b6fc93cf926c18fb094d3bd55.tar.bz2
various PowerPC code maintenance
Diffstat (limited to 'c/src/lib/libcpu/powerpc/mpc8260/timer/timer.c')
-rw-r--r--c/src/lib/libcpu/powerpc/mpc8260/timer/timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc8260/timer/timer.c b/c/src/lib/libcpu/powerpc/mpc8260/timer/timer.c
index 4d39a056d8..2b8d0b812d 100644
--- a/c/src/lib/libcpu/powerpc/mpc8260/timer/timer.c
+++ b/c/src/lib/libcpu/powerpc/mpc8260/timer/timer.c
@@ -78,12 +78,12 @@ void benchmark_timer_initialize(void)
Timer_starting = get_itimer();
}
+extern uint32_t bsp_timer_least_valid;
+extern uint32_t bsp_timer_average_overhead;
int benchmark_timer_read(void)
{
uint32_t clicks;
uint32_t total;
- extern uint32_t bsp_timer_least_valid;
- extern uint32_t bsp_timer_average_overhead;
clicks = get_itimer();