ARM64: early_printk: Fix check for CONFIG_ARM64_64K_PAGES
PATCH 1/1 ARM64: early_printk: Fix check for CONFIG_ARM64_64K_PAGES
The 'CONFIG_' prefix is not implicit in IS_ENABLED().
Signed-off-by Ben Hutchings <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Paul Bolle <[email protected]>
---
Found by inspection. This is not even compile-tested.
Ben.
arch/arm64/mm/mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/mm/mmu.c +1 -1
@@ -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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130322/ddce6baf/attachment.sig>
Catalin Marinas
maintainerPATCH 1/1 ARM64: early_printk: Fix check for CONFIG_ARM64_64K_PAGES
Quoted 5 lines · Ben Hutchings
The '
CONFIG_' prefix is not implicit inIS_ENABLED().Signed-off-by Ben Hutchings <[email protected]>Cc Arnd Bergmann <[email protected]>Cc Paul Bolle <[email protected]>
Thanks. I'll push it upstream.
Signature · 1 line
Catalin