summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@ezchip.com>2015-06-04 13:55:50 -0400
committerChris Metcalf <cmetcalf@ezchip.com>2015-06-04 13:55:50 -0400
commit5316a64ce518f850afb0fca322b85b6dff3cb59f (patch)
treed78376c10e3f5da5b06395670f098ec3e08f4af0 /net/sunrpc
parent9ae4d6bf228ec7f338e8220babb87ee4fae10429 (diff)
downloadop-kernel-dev-5316a64ce518f850afb0fca322b85b6dff3cb59f.zip
op-kernel-dev-5316a64ce518f850afb0fca322b85b6dff3cb59f.tar.gz
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>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud