]> 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)
commit931ac6bae6498eff5c4af42652d3198410008e41
tree32e1d5b7bb3f906faa7b62bbb53a91209d73024c
parentcb3cbc28097cd842a75505370f9faed9c85052d9
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