From: Heiko Carstens <[email protected]>
[S390] Remove pointless/unreliable kernel messages.
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
---
arch/s390/kernel/setup.c | 3 ---
arch/s390/mm/init.c | 2 --
2 files changed, 5 deletions(-)
diff -urpN linux-2.6/arch/s390/kernel/setup.c linux-2.6-patched/arch/s390/kernel/setup.c
--- linux-2.6/arch/s390/kernel/setup.c 2007-01-26 17:27:47.000000000 +0100
+++ linux-2.6-patched/arch/s390/kernel/setup.c 2007-01-26 17:27:48.000000000 +0100
@@ -492,9 +492,6 @@ static void __init setup_memory_end(void
}
if (!memory_end)
memory_end = memory_size;
- if (real_size > memory_end)
- printk("More memory detected than supported. Unused: %luk\n",
- (real_size - memory_end) >> 10);
}
static void __init
diff -urpN linux-2.6/arch/s390/mm/init.c linux-2.6-patched/arch/s390/mm/init.c
--- linux-2.6/arch/s390/mm/init.c 2007-01-26 17:27:47.000000000 +0100
+++ linux-2.6-patched/arch/s390/mm/init.c 2007-01-26 17:27:48.000000000 +0100
@@ -175,8 +175,6 @@ void __init mem_init(void)
printk("Write protected kernel read-only data: %#lx - %#lx\n",
(unsigned long)&__start_rodata,
PFN_ALIGN((unsigned long)&__end_rodata) - 1);
- printk("Virtual memmap size: %ldk\n",
- (max_pfn * sizeof(struct page)) >> 10);
}
void free_initmem(void)