commit | e7bfc462d32fc417d3fea8ad07b62b59f000e925 | [log] [tgz] |
---|---|---|
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | Fri Apr 29 23:25:33 2016 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Sun May 01 18:32:25 2016 +1000 |
tree | 0edee82e64f61f039995204b669dcf581341b178 | |
parent | 7e1e63c5e9d694c1198d410a6c7b2d0fa06da355 [diff] |
powerpc/mm: Use pte_user() instead of open coding We have a common declaration in pte-common.h Add a book3s specific one and switch to pte_user() in callchain.c. In a subsequent patch we will switch _PAGE_USER to _PAGE_PRIVILEGED in the book3s version only. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>