]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: Use pte_user() instead of open coding
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Fri, 29 Apr 2016 13:25:33 +0000 (23:25 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 1 May 2016 08:32:25 +0000 (18:32 +1000)
commitcba5ebe72c0629e02ddbd3938fb43cab0d38ab47
tree0edee82e64f61f039995204b669dcf581341b178
parent97a968f3d4cc73a2169834c66c8497993b6d671d
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>
arch/powerpc/include/asm/book3s/64/pgtable.h
arch/powerpc/perf/callchain.c