From: Chris Metcalf Date: Thu, 4 Jun 2015 17:55:50 +0000 (-0400) Subject: tile: avoid a "label not used" warning in do_page_fault() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~65^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5316a64ce518f850afb0fca322b85b6dff3cb59f;p=pandora-kernel.git tile: avoid a "label not used" warning in do_page_fault() There are two different ifdef cases where the label is used, but if neither is true, the label is unused and the compiler generates a warning. Refactor the code the way x86 does so that there is a do_page_fault() that just does exception handling for context tracking, and make __do_page_fault() a static inline so that various cases can just return instead of doing a jump to "done". Signed-off-by: Chris Metcalf --- Reading git-diff-tree failed