From: Chris Metcalf Date: Mon, 23 Mar 2015 18:23:58 +0000 (-0400) Subject: tile: support CONTEXT_TRACKING and thus NOHZ_FULL X-Git-Tag: omap-for-v4.1/fixes-rc1~110^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49e4e15619cd7cd9fc275d460fae2a95c1337fcc;p=pandora-kernel.git tile: support CONTEXT_TRACKING and thus NOHZ_FULL Add the TIF_NOHZ flag appropriately. Add call to user_exit() on entry to do_work_pending() and on entry to syscalls via do_syscall_trace_enter(), and also the top of do_syscall_trace_exit() just because it's done in x86. Add call to user_enter() at the bottom of do_work_pending() once we have no more work to do before returning to userspace. Wrap all the trap code in exception_enter() / exception_exit(). Signed-off-by: Chris Metcalf Acked-by: Frederic Weisbecker --- Reading git-diff-tree failed