diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-10-08 07:50:10 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-10-10 14:00:37 +0200 |
commit | e1a0e0c30829a0da4174085ee5109fba337dba11 (patch) | |
tree | d033929ab19a3a21e12662a35ff845d7bf7b4195 /bsps/sparc/leon3/start/cpucounter.c | |
parent | build: Fix legacy Makefile support (diff) | |
download | rtems-e1a0e0c30829a0da4174085ee5109fba337dba11.tar.bz2 |
grlib: Add and use irqmp_has_timestamp()
Replace leon3_irqmp_has_timestamp() with irqmp_has_timestamp() and move
it to grlib.h.
Close #4128.
Diffstat (limited to 'bsps/sparc/leon3/start/cpucounter.c')
-rw-r--r-- | bsps/sparc/leon3/start/cpucounter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/sparc/leon3/start/cpucounter.c b/bsps/sparc/leon3/start/cpucounter.c index 007bb6d8ec..1d96e3b221 100644 --- a/bsps/sparc/leon3/start/cpucounter.c +++ b/bsps/sparc/leon3/start/cpucounter.c @@ -43,7 +43,7 @@ static void leon3_counter_initialize(void) counter->read = _SPARC_Counter_read_asr23; leon3_counter_frequency = leon3_up_counter_frequency(); - } else if (leon3_irqmp_has_timestamp(irqmp_ts)) { + } else if (irqmp_has_timestamp(irqmp_ts)) { /* Use the interrupt controller timestamp counter if available */ counter->read_isr_disabled = _SPARC_Counter_read_up; counter->read = _SPARC_Counter_read_up; |