diff options
| author | Benjamin Herrenschmidt <[email protected]> | 2017-07-19 14:49:35 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2017-08-03 16:06:47 +1000 |
| commit | c3350602e876f3ccdd3fbbd112faf1cd885ff4fe (patch) | |
| tree | 6e4605c5b93b726c7a0fe2a6991f709852af2fce /tools/perf/scripts/python | |
| parent | d3ca587404b36943b02df87406054ce73cc49500 (diff) | |
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 <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions