Skip to content
Commit 7e1e63c5 authored by Michael Ellerman's avatar Michael Ellerman
Browse files

powerpc/mm: Convert pte_user() to static inline



In a subsequent patch we want to add a second definition of pte_user().
Before we do that, make the signature clear, ie. it takes a pte_t and
returns bool.

We move it up inside the existing #ifndef __ASSEMBLY__ block, but
otherwise it's a straight conversion.

Convert the call in settlbcam(), which passes an unsigned long, to pass
a pte_t.

Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 73a1441a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment