[PATCH 9/9] bsps: Fix rtems_interrupt_server_handler_remove()

Gedare Bloom gedare at rtems.org
Thu Jan 11 18:13:11 UTC 2018


From: Sebastian Huber <sebastian.huber at embedded-brains.de>

---
 c/src/lib/libbsp/shared/src/irq-server.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/c/src/lib/libbsp/shared/src/irq-server.c b/c/src/lib/libbsp/shared/src/irq-server.c
index 0026f0f..a6cdf4c 100644
--- a/c/src/lib/libbsp/shared/src/irq-server.c
+++ b/c/src/lib/libbsp/shared/src/irq-server.c
@@ -220,8 +220,8 @@ rtems_status_code rtems_interrupt_server_handler_remove(
 
   sc = rtems_interrupt_handler_remove(
     vector,
-    ie.entry->handler,
-    ie.entry->arg
+    bsp_interrupt_server_trigger,
+    ie.entry
   );
   if (sc != RTEMS_SUCCESSFUL) {
     return sc;
-- 
2.7.4




More information about the devel mailing list