sh: switch to generic version of pte allocation
authorMike Rapoport <rppt@linux.ibm.com>
Mon, 23 Sep 2019 22:35:25 +0000 (15:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 24 Sep 2019 22:54:09 +0000 (15:54 -0700)
commit6fb12766f7fcd7934b09fbfbd32a725cc2febf96
tree730333a748b2c463aacc9f3fe487a1f6635817f2
parent013199211c8bfe9cad9312f5083f0d5a576cf74a
sh: switch to generic version of pte allocation

The sh 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 sh to use generic version of these functions.

Link: http://lkml.kernel.org/r/1565250728-21721-4-git-send-email-rppt@linux.ibm.com
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/sh/include/asm/pgalloc.h