summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-09-20 07:27:28 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-09-20 07:27:28 +0200
commitb3cf79b9c472ed8c219f8c9a9d8fb571671f3815 (patch)
tree05e5d3fed74d515fb85aed263c9ef9c30686c350
parentscore: Allocate per-CPU data only if necessary (diff)
downloadrtems-b3cf79b9c472ed8c219f8c9a9d8fb571671f3815.tar.bz2
bsp/leon3: Fix typo which breaks the CPU counter
Update #3456.
-rw-r--r--bsps/sparc/leon3/start/cpucounter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/sparc/leon3/start/cpucounter.c b/bsps/sparc/leon3/start/cpucounter.c
index 2df1409209..e477d1b81e 100644
--- a/bsps/sparc/leon3/start/cpucounter.c
+++ b/bsps/sparc/leon3/start/cpucounter.c
@@ -22,7 +22,7 @@ static uint32_t leon3_counter_frequency = 1000000000;
uint32_t _CPU_Counter_frequency(void)
{
- return leon3_up_counter_frequency;
+ return leon3_counter_frequency;
}
static void leon3_counter_initialize(void)