genirq: Remove CHECK_IRQ_PER_CPU from core code
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
@@ -73,8 +73,8 @@ int irq_can_set_affinity(unsigned int irq)
|
|||||||
{
|
{
|
||||||
struct irq_desc *desc = irq_to_desc(irq);
|
struct irq_desc *desc = irq_to_desc(irq);
|
||||||
|
|
||||||
if (CHECK_IRQ_PER_CPU(desc->status) || !desc->irq_data.chip ||
|
if ((desc->status & (IRQ_PER_CPU | IRQ_NO_BALANCING)) ||
|
||||||
!desc->irq_data.chip->irq_set_affinity)
|
!desc->irq_data.chip || !desc->irq_data.chip->irq_set_affinity)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
@@ -15,7 +15,7 @@ void move_masked_irq(int irq)
|
|||||||
/*
|
/*
|
||||||
* Paranoia: cpu-local interrupts shouldn't be calling in here anyway.
|
* Paranoia: cpu-local interrupts shouldn't be calling in here anyway.
|
||||||
*/
|
*/
|
||||||
if (CHECK_IRQ_PER_CPU(desc->status)) {
|
if (desc->status & (IRQ_PER_CPU | IRQ_NO_BALANCING)) {
|
||||||
WARN_ON(1);
|
WARN_ON(1);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user