linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM64: early_printk: Fix check for CONFIG_ARM64_64K_PAGES
@ 2013-03-22 21:47 Ben Hutchings
  2013-03-25 17:59 ` Catalin Marinas
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Hutchings @ 2013-03-22 21:47 UTC (permalink / raw)
  To: linux-arm-kernel

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>
---
Found by inspection.  This is not even compile-tested.

Ben.

 arch/arm64/mm/mmu.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/mm/mmu.c b/arch/arm64/mm/mmu.c
index 224b44a..70b8cd4 100644
--- a/arch/arm64/mm/mmu.c
+++ b/arch/arm64/mm/mmu.c
@@ -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>

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM64: early_printk: Fix check for CONFIG_ARM64_64K_PAGES
  2013-03-22 21:47 [PATCH] ARM64: early_printk: Fix check for CONFIG_ARM64_64K_PAGES Ben Hutchings
@ 2013-03-25 17:59 ` Catalin Marinas
  0 siblings, 0 replies; 2+ messages in thread
From: Catalin Marinas @ 2013-03-25 17:59 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Mar 22, 2013 at 09:47:51PM +0000, Ben Hutchings wrote:
> 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>

Thanks. I'll push it upstream.

-- 
Catalin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-25 17:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-22 21:47 [PATCH] ARM64: early_printk: Fix check for CONFIG_ARM64_64K_PAGES Ben Hutchings
2013-03-25 17:59 ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).