]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: print warning in arch_remove_linear_mapping()
authorDavid Hildenbrand <david@redhat.com>
Wed, 11 Nov 2020 14:53:19 +0000 (15:53 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 19 Nov 2020 05:56:59 +0000 (16:56 +1100)
commitadb6a2f9da68dbe4565f9dda8bc16a2341a4445d
tree4d49050dc7789e0080ae76dcf96e12b1abb5537c
parentaaa77a1d05cf3c6609a3fd232d30181acd5e18c9
powerpc/mm: print warning in arch_remove_linear_mapping()

Let's print a warning similar to in arch_add_linear_mapping() instead of
WARN_ON_ONCE() and eventually crashing the kernel.

Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Oscar Salvador <osalvador@suse.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201111145322.15793-6-david@redhat.com
arch/powerpc/mm/mem.c