[rtems commit] bsp/leon3: Fix typo which breaks the CPU counter

Sebastian Huber sebh at rtems.org
Thu Sep 20 05:28:06 UTC 2018


Module:    rtems
Branch:    master
Commit:    b3cf79b9c472ed8c219f8c9a9d8fb571671f3815
Changeset: http://git.rtems.org/rtems/commit/?id=b3cf79b9c472ed8c219f8c9a9d8fb571671f3815

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Sep 20 07:27:28 2018 +0200

bsp/leon3: Fix typo which breaks the CPU counter

Update #3456.

---

 bsps/sparc/leon3/start/cpucounter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsps/sparc/leon3/start/cpucounter.c b/bsps/sparc/leon3/start/cpucounter.c
index 2df1409..e477d1b 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)



More information about the vc mailing list