Skip to content
Commit 0ae79068 authored by Michael Ellerman's avatar Michael Ellerman
Browse files

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: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 3182215d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment