Commit e826d7d4 authored by Philippe Gerum's avatar Philippe Gerum
Browse files

arm/ipipe: gpc: fix regression with !CONFIG_IPIPE

This fixes a regression commit 13941a has introduced, leaving a
spinlock held upon return of the mask/unmask irqchip handlers, when
building the kernel with IRQ pipeline support disabled.
parent 1a15f2ea
......@@ -246,7 +246,7 @@ void __ipipe_spin_unlock_debug(unsigned long flags);
#define __ipipe_spin_trylock_irq(lock) 1
#define __ipipe_spin_trylock_irqsave(lock, x) ({ (void)(x); 1; })
#define __ipipe_spin_unlock_irqrestore(lock, x) do { (void)(x); } while (0)
#define __ipipe_spin_unlock_irqbegin(lock) do { } while (0)
#define __ipipe_spin_unlock_irqbegin(lock) spin_unlock(lock)
#define __ipipe_spin_unlock_irqcomplete(x) do { (void)(x); } while (0)
#define __ipipe_spin_unlock_debug(flags) do { } while (0)
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