[rtems commit] bsps: Fix rtems_interrupt_server_handler_remove()

Gedare Bloom gedare at rtems.org
Fri Jan 12 21:01:26 UTC 2018


Module:    rtems
Branch:    4.10
Commit:    d1d4e0172a5b0484f15902f519274027b6259c8b
Changeset: http://git.rtems.org/rtems/commit/?id=d1d4e0172a5b0484f15902f519274027b6259c8b

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Jan  3 15:41:16 2013 +0100

bsps: Fix rtems_interrupt_server_handler_remove()

---

 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;



More information about the vc mailing list