[PATCH 4/8] s390: Mark bits in allocated_irqs in general code

2014-05-01 Thread Yinghai Lu
Second irq_reserve_irqs calling is from arch s390, and s390 does not use SPARSE_IRQ yet. We could set bits for legacy bits early in !SPARSE_IRQ version early_irq_init() directly instead of calling irq_reserve_irqs later. Adding weak version arch_proble_early_allocate_nr_irqs() for !SPARESE_IRQ,

[PATCH 4/8] s390: Mark bits in allocated_irqs in general code

2014-05-01 Thread Yinghai Lu
Second irq_reserve_irqs calling is from arch s390, and s390 does not use SPARSE_IRQ yet. We could set bits for legacy bits early in !SPARSE_IRQ version early_irq_init() directly instead of calling irq_reserve_irqs later. Adding weak version arch_proble_early_allocate_nr_irqs() for !SPARESE_IRQ,