ARM: OMAP: make wakeupgen_lock raw
authorThomas Gleixner <tglx@linutronix.de>
Fri, 7 Dec 2012 14:49:47 +0000 (16:49 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 1 Feb 2013 22:33:56 +0000 (14:33 -0800)
commitaecb9e1422e904d1950620d90c589a141cb32196
tree3b300a0cde3c8002fdedebfe0bc4f9bbec422068
parent88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7
ARM: OMAP: make wakeupgen_lock raw

When applying RT patch on top of Linux, spinlocks are
implemented as RT-mutexes, which means they are preemptable.

Current GIC implementation on OMAP is using a spinlock
to protect against preemption. As it turns out, we need
to convert that lock into a raw_spinlock so that OMAP's
interrupt controller works as expected after RT-patch
is applied.

This patch is simply to decrease the amount of changes
RT-team needs to carry out of tree. It doesn't cause any
changes in behavior.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap-wakeupgen.c