Commit dce69259 authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Boris Ostrovsky

x86/xen: Remove redundant irq_enter/exit() invocations

All these handlers are regular device interrupt handlers, so they already
went through the proper entry code which handles this correctly.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: Juergen Gross <jgross@suse.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: x86@kernel.org
Cc: xen-devel@lists.xenproject.org
Reviewed-by: default avatarJuergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/877deicqqy.ffs@tglxSigned-off-by: default avatarBoris Ostrovsky <boris.ostrovsky@oracle.com>
parent 4745ea26
...@@ -268,20 +268,16 @@ void xen_send_IPI_allbutself(int vector) ...@@ -268,20 +268,16 @@ void xen_send_IPI_allbutself(int vector)
static irqreturn_t xen_call_function_interrupt(int irq, void *dev_id) static irqreturn_t xen_call_function_interrupt(int irq, void *dev_id)
{ {
irq_enter();
generic_smp_call_function_interrupt(); generic_smp_call_function_interrupt();
inc_irq_stat(irq_call_count); inc_irq_stat(irq_call_count);
irq_exit();
return IRQ_HANDLED; return IRQ_HANDLED;
} }
static irqreturn_t xen_call_function_single_interrupt(int irq, void *dev_id) static irqreturn_t xen_call_function_single_interrupt(int irq, void *dev_id)
{ {
irq_enter();
generic_smp_call_function_single_interrupt(); generic_smp_call_function_single_interrupt();
inc_irq_stat(irq_call_count); inc_irq_stat(irq_call_count);
irq_exit();
return IRQ_HANDLED; return IRQ_HANDLED;
} }
...@@ -458,10 +458,8 @@ static void xen_pv_stop_other_cpus(int wait) ...@@ -458,10 +458,8 @@ static void xen_pv_stop_other_cpus(int wait)
static irqreturn_t xen_irq_work_interrupt(int irq, void *dev_id) static irqreturn_t xen_irq_work_interrupt(int irq, void *dev_id)
{ {
irq_enter();
irq_work_run(); irq_work_run();
inc_irq_stat(apic_irq_work_irqs); inc_irq_stat(apic_irq_work_irqs);
irq_exit();
return IRQ_HANDLED; return IRQ_HANDLED;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment