summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-07-19 14:49:35 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2017-08-03 16:06:47 +1000
commitc3350602e876f3ccdd3fbbd112faf1cd885ff4fe (patch)
tree6e4605c5b93b726c7a0fe2a6991f709852af2fce /scripts
parentd3ca587404b36943b02df87406054ce73cc49500 (diff)
downloadtalos-op-linux-c3350602e876f3ccdd3fbbd112faf1cd885ff4fe.tar.gz
talos-op-linux-c3350602e876f3ccdd3fbbd112faf1cd885ff4fe.zip
powerpc/mm: Make bad_area* helper functions
Instead of goto labels, instead call those functions and return. This gets us closer to x86 and allows us to shring do_page_fault() even more. The main difference with x86 is that those function return a value which we then return from do_page_fault(). That value is our return value from do_page_fault() which we use to generate kernel faults. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud