commit | e6c8290a894bcaf0d8f06c504a04da3412a3cf55 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Jul 19 14:49:30 2017 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Thu Aug 03 16:06:44 2017 +1000 |
tree | 9f936b8755b0195baa2d064e97cc7cb0668e1e2e | |
parent | 41b464e5e5675476a5fd923aea8d5a87d2493d93 [diff] |
powerpc/mm: Move error_code checks for bad faults earlier There's no point looking for the VMA etc.. when we already know we are going to fail. This adds some code to set "code" for the si_code but that will be gone in subsequent patches. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>