powerpc/ioremap: warn on early use of ioremap()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 12 Sep 2019 13:49:44 +0000 (13:49 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 19 Nov 2019 08:38:38 +0000 (19:38 +1100)
commitd538aadc2718a95bfd80095c66ea814824535b34
treebc7381c8a0f7fdead3dc51777db35f6e217eb39a
parent265c3491c4bc8d40587996d6ee2f447a7ccfb4f3
powerpc/ioremap: warn on early use of ioremap()

Powerpc now has EARLY_IOREMAP.

Next step is to convert all early users of ioremap() to
early_ioremap().

Add a warning to help locate those users.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/b4f03a68ee8e68773c8973d74ec35f9c82c72871.1568295907.git.christophe.leroy@c-s.fr
arch/powerpc/mm/ioremap_32.c
arch/powerpc/mm/ioremap_64.c