commit | 7e1e63c5e9d694c1198d410a6c7b2d0fa06da355 | [log] [tgz] |
---|---|---|
author | Michael Ellerman <mpe@ellerman.id.au> | Fri Apr 29 23:25:32 2016 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Sun May 01 18:32:24 2016 +1000 |
tree | 593c7b6ac6b345b26dfbfa5e03205190203cba11 | |
parent | 73a1441a9b2ae05c15eb7cc90d4de379b44249bf [diff] |
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: Michael Ellerman <mpe@ellerman.id.au>