hexagon: switch to generic version of pte allocation
authorMike Rapoport <rppt@linux.ibm.com>
Tue, 30 Apr 2019 14:27:50 +0000 (17:27 +0300)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 21 Jul 2019 16:53:00 +0000 (09:53 -0700)
commit618381f09cc15592bf3afe846c6a94e9bfcd9ce4
tree45d58fa19015bd5c9174aab323facdd0843d548b
parentbec5545edef658f81cd9721dbe8fbebeb3c7534d
hexagon: switch to generic version of pte allocation

The hexagon implementation pte_alloc_one(), pte_alloc_one_kernel(),
pte_free_kernel() and pte_free() is identical to the generic except of
lack of __GFP_ACCOUNT for the user PTEs allocation.

Switch hexagon to use generic version of these functions.

Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/hexagon/include/asm/pgalloc.h