sparc: Use preempt_schedule_irq
authorThomas Gleixner <tglx@linutronix.de>
Tue, 17 Sep 2013 18:53:08 +0000 (18:53 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 13 Nov 2013 19:21:47 +0000 (20:21 +0100)
commit9385d949d5bd0eb642ed05ea263c3638c9f4e372
tree1db5214cafd517285f841bb77e30c81aa2936b35
parentaa0d53260596c1bef23547537724d4bad78e6f52
sparc: Use preempt_schedule_irq

The low level preemption code fiddles with the PREEMPT_ACTIVE bit for
no reason and calls schedule() with interrupts disabled, which is
wrong to begin with. Remove the PREEMPT_ACTIVE fiddling and call the
proper schedule_preempt_irq() function.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org
Link: http://lkml.kernel.org/r/20130917183628.966769884@linutronix.de
arch/sparc/kernel/rtrap_64.S