[rtems commit] bsp/psim: Fix for RTEMS_DEBUG
Sebastian Huber
sebh at rtems.org
Wed Sep 20 08:18:31 UTC 2017
Module: rtems
Branch: master
Commit: cf2ec29d9629f254fdc14f24b5905c857e30c2bc
Changeset: http://git.rtems.org/rtems/commit/?id=cf2ec29d9629f254fdc14f24b5905c857e30c2bc
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Sep 20 10:18:17 2017 +0200
bsp/psim: Fix for RTEMS_DEBUG
---
c/src/lib/libbsp/powerpc/psim/irq/irq_init.c | 4 ++--
1 file 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 61600a9..197d8b5 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)
More information about the vc
mailing list