2011-07-26 Till Straumann <strauman@slac.stanford.edu>

* shared/irq/openpic_i8259_irq.c: silenced compiler warnings.
This commit is contained in:
Till Straumann
2011-07-27 04:21:25 +00:00
parent 6b95d5c0f7
commit 586d915fc9
2 changed files with 9 additions and 1 deletions
+4
View File
@@ -1,3 +1,7 @@
2011-07-26 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/openpic_i8259_irq.c: silenced compiler warnings.
2011-07-21 Till Straumann <strauman@slac.stanford.edu>
* shared/motorola/motorola.c: removed
@@ -265,7 +265,11 @@ int C_dispatch_irq_handler (BSP_Exception_frame *frame, unsigned int excNum)
#error "Configuration Error -- BSP with ISA + PCI IRQs MUST define BSP_PCI_ISA_BRIDGE_IRQ"
#endif
#else
rtems_panic("MUST have an OpenPIC if BSP has PCI IRQs but no ISA IRQs");
BSP_panic("MUST have an OpenPIC if BSP has PCI IRQs but no ISA IRQs");
/* BSP_panic() never returns but the 'return' statement silences
* a compiler warning about 'irq' possibly being used w/o initialization.
*/
return -1;
#endif
}
#endif