summaryrefslogtreecommitdiff
path: root/arch/powerpc/mm/ioremap_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/mm/ioremap_32.c')
-rw-r--r--arch/powerpc/mm/ioremap_32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/mm/ioremap_32.c b/arch/powerpc/mm/ioremap_32.c
index f36121f25243..743e11384dea 100644
--- a/arch/powerpc/mm/ioremap_32.c
+++ b/arch/powerpc/mm/ioremap_32.c
@@ -68,6 +68,7 @@ __ioremap_caller(phys_addr_t addr, unsigned long size, pgprot_t prot, void *call
/*
* Should check if it is a candidate for a BAT mapping
*/
+ pr_warn("ioremap() called early from %pS. Use early_ioremap() instead\n", caller);
err = early_ioremap_range(ioremap_bot - size, p, size, prot);
if (err)