mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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 <cmetcalf@ezchip.com>
This commit is contained in:
parent
9ae4d6bf22
commit
5316a64ce5
1 changed files with 10 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue