Skip to content

Commit dce6925

Browse files
KAGA-KOKObostrovs
authored andcommitted
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: Thomas Gleixner <[email protected]> Cc: Juergen Gross <[email protected]> Cc: Stefano Stabellini <[email protected]> Cc: Boris Ostrovsky <[email protected]> Cc: [email protected] Cc: [email protected] Reviewed-by: Juergen Gross <[email protected]> Link: https://lore.kernel.org/r/877deicqqy.ffs@tglx Signed-off-by: Boris Ostrovsky <[email protected]>
1 parent 4745ea2 commit dce6925

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

arch/x86/xen/smp.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -268,20 +268,16 @@ void xen_send_IPI_allbutself(int vector)
268268

269269
static irqreturn_t xen_call_function_interrupt(int irq, void *dev_id)
270270
{
271-
irq_enter();
272271
generic_smp_call_function_interrupt();
273272
inc_irq_stat(irq_call_count);
274-
irq_exit();
275273

276274
return IRQ_HANDLED;
277275
}
278276

279277
static irqreturn_t xen_call_function_single_interrupt(int irq, void *dev_id)
280278
{
281-
irq_enter();
282279
generic_smp_call_function_single_interrupt();
283280
inc_irq_stat(irq_call_count);
284-
irq_exit();
285281

286282
return IRQ_HANDLED;
287283
}

arch/x86/xen/smp_pv.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,10 +458,8 @@ static void xen_pv_stop_other_cpus(int wait)
458458

459459
static irqreturn_t xen_irq_work_interrupt(int irq, void *dev_id)
460460
{
461-
irq_enter();
462461
irq_work_run();
463462
inc_irq_stat(apic_irq_work_irqs);
464-
irq_exit();
465463

466464
return IRQ_HANDLED;
467465
}

0 commit comments

Comments
 (0)