]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
xtensa: check thread flags atomically on return from user exception
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 26 Aug 2013 11:12:58 +0000 (15:12 +0400)
committerChris Zankel <chris@zankel.net>
Fri, 6 Sep 2013 16:46:35 +0000 (09:46 -0700)
commitaea8e7c80ab50305257838bfb04f91a76cf9fec7
tree9fc08e6ec839f35c3f1c27398e6c67ae108594dc
parent0bc2ba94a65d2cd2ad01004d2d3f94f31c6064bd
xtensa: check thread flags atomically on return from user exception

Check pending signals and rescheduling thread flags with interrupts
disabled, and don't enable them if no flags are set. Call
trace_hardirqs_on after thread flags handling, so that rescheduling is
done and hardirqs tracking flag is updated in the correct task context.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/kernel/entry.S