commit | aea8e7c80ab50305257838bfb04f91a76cf9fec7 | [log] [tgz] |
---|---|---|
author | Max Filippov <jcmvbkbc@gmail.com> | Mon Aug 26 15:12:58 2013 +0400 |
committer | Chris Zankel <chris@zankel.net> | Fri Sep 06 09:46:35 2013 -0700 |
tree | 9fc08e6ec839f35c3f1c27398e6c67ae108594dc | |
parent | 0bc2ba94a65d2cd2ad01004d2d3f94f31c6064bd [diff] |
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>