summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-20 10:18:17 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-20 10:18:17 +0200
commitcf2ec29d9629f254fdc14f24b5905c857e30c2bc (patch)
tree1c354d6a2ed405d0e76ed317e126f64365daed1b
parent927e1f8c7cad7602800fd653a143eb336694b004 (diff)
downloadrtems-cf2ec29d9629f254fdc14f24b5905c857e30c2bc.tar.bz2
bsp/psim: Fix for RTEMS_DEBUG
-rw-r--r--c/src/lib/libbsp/powerpc/psim/irq/irq_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/psim/irq/irq_init.c b/c/src/lib/libbsp/powerpc/psim/irq/irq_init.c
index 61600a9d62..197d8b5ebe 100644
--- a/c/src/lib/libbsp/powerpc/psim/irq/irq_init.c
+++ b/c/src/lib/libbsp/powerpc/psim/irq/irq_init.c
@@ -105,13 +105,13 @@ static int psim_exception_handler(
void bsp_interrupt_vector_enable( rtems_vector_number irqnum)
{
/* FIXME: do something */
- bsp_interrupt_assert(bsp_interrupt_is_valid_vector(vector));
+ bsp_interrupt_assert(bsp_interrupt_is_valid_vector(irqnum));
}
void bsp_interrupt_vector_disable( rtems_vector_number irqnum)
{
/* FIXME: do something */
- bsp_interrupt_assert(bsp_interrupt_is_valid_vector(vector));
+ bsp_interrupt_assert(bsp_interrupt_is_valid_vector(irqnum));
}
rtems_status_code bsp_interrupt_facility_initialize(void)