[PATCH] bsps/riscv: Fix multiple definition

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Apr 8 09:55:38 UTC 2020


---
 bsps/riscv/griscv/irq/irq.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/bsps/riscv/griscv/irq/irq.c b/bsps/riscv/griscv/irq/irq.c
index e3fc8c310f..e68e69e393 100644
--- a/bsps/riscv/griscv/irq/irq.c
+++ b/bsps/riscv/griscv/irq/irq.c
@@ -43,8 +43,6 @@
 #include <rtems/score/riscv-utility.h>
 #include <rtems/score/smpimpl.h>
 
-rtems_interrupt_lock GRLIB_IrqCtrl_Lock;
-
 #if defined(RTEMS_SMP)
 /* Interrupt to CPU map. Default to CPU0 since in BSS. */
 const unsigned char GRLIB_irq_to_cpu[32] __attribute__((weak));
-- 
2.16.4



More information about the devel mailing list