]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: don't use pte_alloc_kernel() until slab is available on PPC32
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 26 Apr 2019 15:58:06 +0000 (15:58 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 May 2019 15:20:25 +0000 (01:20 +1000)
commit6eec7b3e933ea8c94f2b52c3ece59db4227b5e6d
tree601bd4e8b111fb3ff44701ed11701a6468f6e727
parent106379edcc7b59f9d34df63e5ffac03a8f4317b7
powerpc/mm: don't use pte_alloc_kernel() until slab is available on PPC32

In the same way as PPC64, implement early allocation functions and
avoid calling pte_alloc_kernel() before slab is available.

Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/pgtable_32.c