x86/xen: remove deprecated IRQF_DISABLED
This patch proposes to remove the IRQF_DISABLED flag from x86/xen code. It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
This commit is contained in:
parent
ce5be5a163
commit
9d71cee667
@ -149,7 +149,7 @@ static int xen_smp_intr_init(unsigned int cpu)
|
|||||||
rc = bind_ipi_to_irqhandler(XEN_RESCHEDULE_VECTOR,
|
rc = bind_ipi_to_irqhandler(XEN_RESCHEDULE_VECTOR,
|
||||||
cpu,
|
cpu,
|
||||||
xen_reschedule_interrupt,
|
xen_reschedule_interrupt,
|
||||||
IRQF_DISABLED|IRQF_PERCPU|IRQF_NOBALANCING,
|
IRQF_PERCPU|IRQF_NOBALANCING,
|
||||||
resched_name,
|
resched_name,
|
||||||
NULL);
|
NULL);
|
||||||
if (rc < 0)
|
if (rc < 0)
|
||||||
@ -161,7 +161,7 @@ static int xen_smp_intr_init(unsigned int cpu)
|
|||||||
rc = bind_ipi_to_irqhandler(XEN_CALL_FUNCTION_VECTOR,
|
rc = bind_ipi_to_irqhandler(XEN_CALL_FUNCTION_VECTOR,
|
||||||
cpu,
|
cpu,
|
||||||
xen_call_function_interrupt,
|
xen_call_function_interrupt,
|
||||||
IRQF_DISABLED|IRQF_PERCPU|IRQF_NOBALANCING,
|
IRQF_PERCPU|IRQF_NOBALANCING,
|
||||||
callfunc_name,
|
callfunc_name,
|
||||||
NULL);
|
NULL);
|
||||||
if (rc < 0)
|
if (rc < 0)
|
||||||
@ -171,7 +171,7 @@ static int xen_smp_intr_init(unsigned int cpu)
|
|||||||
|
|
||||||
debug_name = kasprintf(GFP_KERNEL, "debug%d", cpu);
|
debug_name = kasprintf(GFP_KERNEL, "debug%d", cpu);
|
||||||
rc = bind_virq_to_irqhandler(VIRQ_DEBUG, cpu, xen_debug_interrupt,
|
rc = bind_virq_to_irqhandler(VIRQ_DEBUG, cpu, xen_debug_interrupt,
|
||||||
IRQF_DISABLED | IRQF_PERCPU | IRQF_NOBALANCING,
|
IRQF_PERCPU | IRQF_NOBALANCING,
|
||||||
debug_name, NULL);
|
debug_name, NULL);
|
||||||
if (rc < 0)
|
if (rc < 0)
|
||||||
goto fail;
|
goto fail;
|
||||||
@ -182,7 +182,7 @@ static int xen_smp_intr_init(unsigned int cpu)
|
|||||||
rc = bind_ipi_to_irqhandler(XEN_CALL_FUNCTION_SINGLE_VECTOR,
|
rc = bind_ipi_to_irqhandler(XEN_CALL_FUNCTION_SINGLE_VECTOR,
|
||||||
cpu,
|
cpu,
|
||||||
xen_call_function_single_interrupt,
|
xen_call_function_single_interrupt,
|
||||||
IRQF_DISABLED|IRQF_PERCPU|IRQF_NOBALANCING,
|
IRQF_PERCPU|IRQF_NOBALANCING,
|
||||||
callfunc_name,
|
callfunc_name,
|
||||||
NULL);
|
NULL);
|
||||||
if (rc < 0)
|
if (rc < 0)
|
||||||
@ -201,7 +201,7 @@ static int xen_smp_intr_init(unsigned int cpu)
|
|||||||
rc = bind_ipi_to_irqhandler(XEN_IRQ_WORK_VECTOR,
|
rc = bind_ipi_to_irqhandler(XEN_IRQ_WORK_VECTOR,
|
||||||
cpu,
|
cpu,
|
||||||
xen_irq_work_interrupt,
|
xen_irq_work_interrupt,
|
||||||
IRQF_DISABLED|IRQF_PERCPU|IRQF_NOBALANCING,
|
IRQF_PERCPU|IRQF_NOBALANCING,
|
||||||
callfunc_name,
|
callfunc_name,
|
||||||
NULL);
|
NULL);
|
||||||
if (rc < 0)
|
if (rc < 0)
|
||||||
|
@ -234,7 +234,7 @@ void xen_init_lock_cpu(int cpu)
|
|||||||
irq = bind_ipi_to_irqhandler(XEN_SPIN_UNLOCK_VECTOR,
|
irq = bind_ipi_to_irqhandler(XEN_SPIN_UNLOCK_VECTOR,
|
||||||
cpu,
|
cpu,
|
||||||
dummy_handler,
|
dummy_handler,
|
||||||
IRQF_DISABLED|IRQF_PERCPU|IRQF_NOBALANCING,
|
IRQF_PERCPU|IRQF_NOBALANCING,
|
||||||
name,
|
name,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
|
@ -443,8 +443,7 @@ void xen_setup_timer(int cpu)
|
|||||||
name = "<timer kasprintf failed>";
|
name = "<timer kasprintf failed>";
|
||||||
|
|
||||||
irq = bind_virq_to_irqhandler(VIRQ_TIMER, cpu, xen_timer_interrupt,
|
irq = bind_virq_to_irqhandler(VIRQ_TIMER, cpu, xen_timer_interrupt,
|
||||||
IRQF_DISABLED|IRQF_PERCPU|
|
IRQF_PERCPU|IRQF_NOBALANCING|IRQF_TIMER|
|
||||||
IRQF_NOBALANCING|IRQF_TIMER|
|
|
||||||
IRQF_FORCE_RESUME,
|
IRQF_FORCE_RESUME,
|
||||||
name, NULL);
|
name, NULL);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user