diff options
| author | Thomas Gleixner <[email protected]> | 2021-10-12 13:33:09 +0000 |
|---|---|---|
| committer | Boris Ostrovsky <[email protected]> | 2021-11-02 12:45:44 +0000 |
| commit | dce69259aebbc43b248d3593e46bdc7d4d33d94c (patch) | |
| tree | dcd4bc1390096966770f72ab235d7ce9a1bd6858 | |
| parent | xen-pciback: Fix return in pm_ctrl_init() (diff) | |
| download | kernel-dce69259aebbc43b248d3593e46bdc7d4d33d94c.tar.gz kernel-dce69259aebbc43b248d3593e46bdc7d4d33d94c.zip | |
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]>
| -rw-r--r-- | arch/x86/xen/smp.c | 4 | ||||
| -rw-r--r-- | arch/x86/xen/smp_pv.c | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c index c1b2f764b29a..8f6d3dfaffa0 100644 --- a/arch/x86/xen/smp.c +++ b/arch/x86/xen/smp.c @@ -268,20 +268,16 @@ void xen_send_IPI_allbutself(int vector) static irqreturn_t xen_call_function_interrupt(int irq, void *dev_id) { - irq_enter(); generic_smp_call_function_interrupt(); inc_irq_stat(irq_call_count); - irq_exit(); return IRQ_HANDLED; } static irqreturn_t xen_call_function_single_interrupt(int irq, void *dev_id) { - irq_enter(); generic_smp_call_function_single_interrupt(); inc_irq_stat(irq_call_count); - irq_exit(); return IRQ_HANDLED; } diff --git a/arch/x86/xen/smp_pv.c b/arch/x86/xen/smp_pv.c index 7ed56c6075b0..9e55bcbfcd33 100644 --- a/arch/x86/xen/smp_pv.c +++ b/arch/x86/xen/smp_pv.c @@ -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) { - irq_enter(); irq_work_run(); inc_irq_stat(apic_irq_work_irqs); - irq_exit(); return IRQ_HANDLED; } |
