diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2016-04-29 16:25:32 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-05-01 11:32:24 +0300 |
commit | 7e1e63c5e9d694c1198d410a6c7b2d0fa06da355 (patch) | |
tree | 593c7b6ac6b345b26dfbfa5e03205190203cba11 /mm | |
parent | 73a1441a9b2ae05c15eb7cc90d4de379b44249bf (diff) | |
download | linux-7e1e63c5e9d694c1198d410a6c7b2d0fa06da355.tar.xz |
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions