diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2015-04-14 08:18:27 +0200 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2015-04-17 01:10:30 +0200 |
commit | 628e7393683407abd7ecd521dae91c26bd5447d1 (patch) | |
tree | 97cac205b45fd7ba05d9ba711a4185d33e2329eb /c/src/lib/libbsp/sparc/leon3/clock/ckinit.c | |
parent | DRVMGR: remove struct driver registration func (diff) | |
download | rtems-628e7393683407abd7ecd521dae91c26bd5447d1.tar.bz2 |
LEON3: clock irq always same as timer instance
The leon.h already contains the definition of LEON3_CLOCK_INDEX
and irq must always follow that when separate IRQ is supported by
the HW. The definitions are resued from leon.h.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/sparc/leon3/clock/ckinit.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/clock/ckinit.c b/c/src/lib/libbsp/sparc/leon3/clock/ckinit.c index 227b7c0fbc..858027006a 100644 --- a/c/src/lib/libbsp/sparc/leon3/clock/ckinit.c +++ b/c/src/lib/libbsp/sparc/leon3/clock/ckinit.c @@ -82,16 +82,7 @@ static void leon3_clock_profiling_interrupt_delay(void) leon3_clock_profiling_interrupt_delay(); \ } while (0) -#if defined(RTEMS_MULTIPROCESSING) - #define Adjust_clkirq_for_node() \ - do { \ - if (rtems_configuration_get_user_multiprocessing_table() != NULL) { \ - clkirq += LEON3_Cpu_Index; \ - } \ - } while(0) -#else - #define Adjust_clkirq_for_node() do { clkirq += LEON3_CLOCK_INDEX; } while(0) -#endif +#define Adjust_clkirq_for_node() do { clkirq += LEON3_CLOCK_INDEX; } while(0) #define Clock_driver_support_find_timer() \ do { \ |