summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-06-19 12:58:21 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-06-24 11:35:49 +0200
commit900a84c5d1c966b33621d24fae3c2c100b020f81 (patch)
tree0e8260213f9518be139d226db74ff50ab2289789 /testsuites
parentaf73b7b64b385232eddfd899ebd9e93054b66026 (diff)
downloadrtems-900a84c5d1c966b33621d24fae3c2c100b020f81.tar.bz2
smpcapture02: Fix use of BSP_INTERRUPT_VECTOR_MAX
This define represents the last valid interrupt vector number. Update #3269.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/smptests/smpcapture02/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/smptests/smpcapture02/init.c b/testsuites/smptests/smpcapture02/init.c
index 9cf1f0b006..329fd344e6 100644
--- a/testsuites/smptests/smpcapture02/init.c
+++ b/testsuites/smptests/smpcapture02/init.c
@@ -316,7 +316,7 @@ static void Init(rtems_task_argument arg)
test(cpu_count);
/* Try to find the clock interrupt handler */
- for ( vec = 0; vec < BSP_INTERRUPT_VECTOR_MAX; vec++ ) {
+ for ( vec = 0; vec <= BSP_INTERRUPT_VECTOR_MAX; vec++ ) {
rtems_interrupt_handler_iterate(vec, locate_clock_interrupt_handler, &cih);
if ( cih.found )
break;