[rtems commit] bsps/riscv: Fix multiple definition

Sebastian Huber sebh at rtems.org
Fri Apr 10 18:01:53 UTC 2020


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Apr  8 11:52:45 2020 +0200

bsps/riscv: Fix multiple definition

---

 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 e3fc8c3..e68e69e 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));



More information about the vc mailing list