]> git.baikalelectronics.ru Git - kernel.git/commit
frv: fix the broken preempt
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 2 Nov 2012 16:05:44 +0000 (12:05 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 2 Nov 2012 16:08:25 +0000 (12:08 -0400)
commit78c98721c4c77e2af4781b6a4504f961118c9e32
tree32e1d5b7bb3f906faa7b62bbb53a91209d73024c
parent411aca0c7f9e38026cee89b4b7e1b7805578e137
frv: fix the broken preempt

Just get %icc2 into the state we would have after local_irq_disable()
and physical IRQ having happened since then.  Then we can simply
use preempt_schedule_irq() and be done with the whole mess.

Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/frv/kernel/entry.S