commit | 0ae790683fc28bb718d74f87cdf753c6445fe28d | [log] [tgz] |
---|---|---|
author | Michael Ellerman <mpe@ellerman.id.au> | Tue Nov 06 19:23:28 2018 +1100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Nov 06 19:28:53 2018 +1100 |
tree | fe6a050b5f5d016f2ba413c0e37485dbdedade21 | |
parent | 3182215dd0b2120fb942ed88430cfb7c12d583e0 [diff] |
powerpc/mm/64s: Consolidate SLB assertions The code for assert_slb_exists() and assert_slb_notexists() is almost identical, except for the polarity of the WARN_ON(). In a future patch we'll need to modify this code, so consolidate it now into a single function. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>