[PATCH 3/5] kernel/user: Use irqsave variant of atomic_dec_and_lock()

2018-05-04 Thread Sebastian Andrzej Siewior
From: Anna-Maria Gleixner The irqsave variant of atomic_dec_and_lock handles irqsave/restore when taking/releasing the spin lock. With this variant the call of local_irq_save/restore is no longer required. Signed-off-by: Anna-Maria Gleixner

[PATCH 3/5] kernel/user: Use irqsave variant of atomic_dec_and_lock()

2018-05-04 Thread Sebastian Andrzej Siewior
From: Anna-Maria Gleixner The irqsave variant of atomic_dec_and_lock handles irqsave/restore when taking/releasing the spin lock. With this variant the call of local_irq_save/restore is no longer required. Signed-off-by: Anna-Maria Gleixner Signed-off-by: Sebastian Andrzej Siewior ---