From: Max Filippov Date: Mon, 26 Aug 2013 11:12:58 +0000 (+0400) Subject: xtensa: check thread flags atomically on return from user exception X-Git-Tag: v3.12-rc1~15^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aea8e7c80ab50305257838bfb04f91a76cf9fec7;p=pandora-kernel.git 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 Signed-off-by: Chris Zankel --- Reading git-diff-tree failed