[rtems commit] bsp/qemuppc: Fix for RTEMS_DEBUG
Sebastian Huber
sebh at rtems.org
Wed Sep 20 08:30:30 UTC 2017
Module: rtems
Branch: master
Commit: 821acce64f82d5aae960658216fd584c09c597ae
Changeset: http://git.rtems.org/rtems/commit/?id=821acce64f82d5aae960658216fd584c09c597ae
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Sep 20 10:30:19 2017 +0200
bsp/qemuppc: Fix for RTEMS_DEBUG
---
c/src/lib/libbsp/powerpc/qemuppc/irq/irq_init.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/c/src/lib/libbsp/powerpc/qemuppc/irq/irq_init.c b/c/src/lib/libbsp/powerpc/qemuppc/irq/irq_init.c
index b5533e0..f1c6d55 100644
--- a/c/src/lib/libbsp/powerpc/qemuppc/irq/irq_init.c
+++ b/c/src/lib/libbsp/powerpc/qemuppc/irq/irq_init.c
@@ -41,13 +41,13 @@ static int qemuppc_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