[PATCH 1/4] mm: add missing KERN_CONT to free_area_init_nodes

From: Sasha Levin
Date: Tue May 08 2012 - 11:55:20 EST


Fix this behaviour:

Zone ranges:
DMA
[mem 0x00010000-0x00ffffff]
DMA32
[mem 0x01000000-0xffffffff]
Normal
empty

Revealed due to a new modification to printk().

Signed-off-by: Sasha Levin <levinsasha928@xxxxxxxxx>
---
mm/page_alloc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 29066fd..b252ae3 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -4826,9 +4826,9 @@ void __init free_area_init_nodes(unsigned long *max_zone_pfn)
printk(" %-8s ", zone_names[i]);
if (arch_zone_lowest_possible_pfn[i] ==
arch_zone_highest_possible_pfn[i])
- printk("empty\n");
+ printk(KERN_CONT "empty\n");
else
- printk("[mem %0#10lx-%0#10lx]\n",
+ printk(KERN_CONT "[mem %0#10lx-%0#10lx]\n",
arch_zone_lowest_possible_pfn[i] << PAGE_SHIFT,
(arch_zone_highest_possible_pfn[i]
<< PAGE_SHIFT) - 1);
--
1.7.8.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/