]> git.itanic.dy.fi Git - linux-stable/commit
mips: mm: add slab availability checking in ioremap_prot
authorSerge Semin <fancer.lancer@gmail.com>
Sat, 2 Dec 2023 11:14:22 +0000 (14:14 +0300)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 21 Dec 2023 14:32:46 +0000 (15:32 +0100)
commite540b8c5da04c66ff610d3bf84a7566d9f6bffcf
tree0f47c20572222e3f7a61d26e266956cd3a340cf2
parent1c0150229f6a658687c245dfc4dcfa3fae69df49
mips: mm: add slab availability checking in ioremap_prot

Recent commit a5f616483110 ("mm/ioremap: add slab availability checking in
ioremap_prot") added the slab availability check to the generic
ioremap_prot() implementation. It is reasonable to be done for the
MIPS32-specific method too since it also relies on the
get_vm_area_caller() function (by means of get_vm_area()) which requires
the slab allocator being up and running before being called.

Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/mm/ioremap.c