[S390] Remove pointless/unreliable kernel messages.

From: Martin Schwidefsky
Date: Fri Jan 26 2007 - 11:48:11 EST


From: Heiko Carstens <heiko.carstens@xxxxxxxxxx>

[S390] Remove pointless/unreliable kernel messages.

Signed-off-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
Signed-off-by: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
---

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)
-
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/