[rtems commit] bsp/riscv: Remove bsp_interrupt_handler_default()

Sebastian Huber sebh at rtems.org
Fri Jun 29 09:57:54 UTC 2018


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Jun 27 07:47:33 2018 +0200

bsp/riscv: Remove bsp_interrupt_handler_default()

It duplicated the default implementation.

Update #3433.

---

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

diff --git a/bsps/riscv/riscv/irq/irq.c b/bsps/riscv/riscv/irq/irq.c
index 8090dce..ac4f1ca 100644
--- a/bsps/riscv/riscv/irq/irq.c
+++ b/bsps/riscv/riscv/irq/irq.c
@@ -37,15 +37,6 @@
 #include <bsp/irq.h>
 #include <bsp/irq-generic.h>
 
-/* Almost all of the jobs that the following functions should
- * do are implemented in cpukit
- */
-
-void bsp_interrupt_handler_default(rtems_vector_number vector)
-{
-  printk("spurious interrupt: %u\n", vector);
-}
-
 rtems_status_code bsp_interrupt_facility_initialize()
 {
   return RTEMS_NOT_IMPLEMENTED;




More information about the vc mailing list