diff options
Diffstat (limited to 'lib/ioremap.c')
-rw-r--r-- | lib/ioremap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ioremap.c b/lib/ioremap.c index a95161d9c883..0a2ffadc6d71 100644 --- a/lib/ioremap.c +++ b/lib/ioremap.c | |||
@@ -30,6 +30,8 @@ early_param("nohugeiomap", set_nohugeiomap); | |||
30 | void __init ioremap_huge_init(void) | 30 | void __init ioremap_huge_init(void) |
31 | { | 31 | { |
32 | if (!ioremap_huge_disabled) { | 32 | if (!ioremap_huge_disabled) { |
33 | if (arch_ioremap_p4d_supported()) | ||
34 | ioremap_p4d_capable = 1; | ||
33 | if (arch_ioremap_pud_supported()) | 35 | if (arch_ioremap_pud_supported()) |
34 | ioremap_pud_capable = 1; | 36 | ioremap_pud_capable = 1; |
35 | if (arch_ioremap_pmd_supported()) | 37 | if (arch_ioremap_pmd_supported()) |