2005-05-03 Joel Sherrill <joel@OARcorp.com>

* mc9328mxl/irq/irq.c, s3c2400/irq/irq.c: Remove warnings.
This commit is contained in:
Joel Sherrill
2005-05-03 22:24:46 +00:00
parent de05099e49
commit d4097055ff
3 changed files with 8 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
2005-05-03 Joel Sherrill <joel@OARcorp.com>
* mc9328mxl/irq/irq.c, s3c2400/irq/irq.c: Remove warnings.
2005-04-26 Joel Sherrill <joel@OARcorp.com>
* s3c2400/clock/clockdrv.c: Eliminate warning.

View File

@@ -38,7 +38,7 @@ int BSP_install_rtems_irq_handler (const rtems_irq_connect_data* irq)
rtems_interrupt_level level;
rtems_irq_hdl *bsp_tbl;
bsp_tbl = &bsp_vector_table;
bsp_tbl = (rtems_irq_hdl *)&bsp_vector_table;
if (!isValidInterrupt(irq->name)) {
return 0;
@@ -82,7 +82,7 @@ int BSP_remove_rtems_irq_handler (const rtems_irq_connect_data* irq)
rtems_interrupt_level level;
rtems_irq_hdl *bsp_tbl;
bsp_tbl = &bsp_vector_table;
bsp_tbl = (rtems_irq_hdl *)&bsp_vector_table;
if (!isValidInterrupt(irq->name)) {
return 0;

View File

@@ -49,7 +49,7 @@ int BSP_install_rtems_irq_handler (const rtems_irq_connect_data* irq)
/*
* Check if default handler is actually connected. If not issue an error.
*/
HdlTable = VECTOR_TABLE;
HdlTable = (rtems_irq_hdl *)VECTOR_TABLE;
if (*(HdlTable + irq->name) != default_int_handler) {
return 0;
}
@@ -86,7 +86,7 @@ int BSP_remove_rtems_irq_handler (const rtems_irq_connect_data* irq)
/*
* Check if the handler is actually connected. If not issue an error.
*/
HdlTable = VECTOR_TABLE;
HdlTable = (rtems_irq_hdl *)VECTOR_TABLE;
if (*(HdlTable + irq->name) != irq->hdl) {
return 0;
}