commit | fab9a1165bcda99682e3319d1c83980fd4e72365 | [log] [tgz] |
---|---|---|
author | Christophe Leroy <christophe.leroy@c-s.fr> | Fri Apr 26 05:59:51 2019 +0000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Fri May 03 01:20:24 2019 +1000 |
tree | 906e441419646aed1c3ee7384d39c01781a6a83d | |
parent | 4df4b27585227c8ba66fdf0dd7531d1e23a37194 [diff] |
powerpc/mm: flatten function __find_linux_pte() step 1 __find_linux_pte() is full of if/else which is hard to follow allthough the handling is pretty simple. This patch flattens the function by getting rid of as much if/else as possible. In order to ease the review, this is done in three steps. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>