ARM64: early_printk: Fix check for CONFIG_ARM64_64K_PAGES
authorBen Hutchings <ben@decadent.org.uk>
Fri, 22 Mar 2013 21:47:51 +0000 (21:47 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 25 Mar 2013 17:59:57 +0000 (17:59 +0000)
The 'CONFIG_' prefix is not implicit in IS_ENABLED().

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/mmu.c

index 224b44a..70b8cd4 100644 (file)
@@ -261,7 +261,7 @@ static void __init create_mapping(phys_addr_t phys, unsigned long virt,
 void __iomem * __init early_io_map(phys_addr_t phys, unsigned long virt)
 {
        unsigned long size, mask;
-       bool page64k = IS_ENABLED(ARM64_64K_PAGES);
+       bool page64k = IS_ENABLED(CONFIG_ARM64_64K_PAGES);
        pgd_t *pgd;
        pud_t *pud;
        pmd_t *pmd;