summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhong Pham <phamp@ddc-web.com>2017-05-07 13:52:50 -0700
committerJoel Sherrill <joel@rtems.org>2017-05-13 23:10:25 -0500
commita9859d1a5818fdfefcf587160767979568bb7f04 (patch)
treea179982f94bec728d540b359bc76903176610798
parentf219adc3f8d38a13a14c6f9900177204f7bb05b3 (diff)
downloadrtems-a9859d1a5818fdfefcf587160767979568bb7f04.tar.bz2
interrupt vector indexing is assuming BSP_INTERRUPT_VECTOR_MIN = 0
Closes #3014.
-rwxr-xr-x[-rw-r--r--]c/src/lib/libbsp/shared/src/irq-generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/shared/src/irq-generic.c b/c/src/lib/libbsp/shared/src/irq-generic.c
index c62a75602e..b2a7ced64c 100644..100755
--- a/c/src/lib/libbsp/shared/src/irq-generic.c
+++ b/c/src/lib/libbsp/shared/src/irq-generic.c
@@ -125,7 +125,7 @@ static inline bool bsp_interrupt_allocate_handler_index(
return false;
#else
- *index = vector;
+ *index = bsp_interrupt_handler_index(vector);
return true;
#endif
}