mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 10:25:05 +08:00
2011-07-26 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/openpic_i8259_irq.c: silenced compiler warnings.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user