OSDN Git Service

powerpc/book3e: drop BUG_ON() in map_kernel_page()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 28 Mar 2019 13:03:45 +0000 (13:03 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 May 2019 11:18:57 +0000 (21:18 +1000)
commita1ac2a9c4f98482e49305ab5551b7b32f9cac39b
treea5821463ebb06d372f30253b01d243b1ad00a74b
parente620d45065c7b5b8d6ae11217c09c09380103b83
powerpc/book3e: drop BUG_ON() in map_kernel_page()

early_alloc_pgtable() never returns NULL as it panics on failure.

This patch drops the three BUG_ON() which check the non nullity
of early_alloc_pgtable() returned value.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/pgtable-book3e.c