Module Name: src
Committed By: jmcneill
Date: Sat Aug 13 12:18:54 UTC 2011
Modified Files:
src/sys/arch/usermode/dev: cpu.c
Log Message:
no need to print copyright/version/memory info, just call banner()
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/usermode/dev/cpu.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/usermode/dev/cpu.c
diff -u src/sys/arch/usermode/dev/cpu.c:1.13 src/sys/arch/usermode/dev/cpu.c:1.14
--- src/sys/arch/usermode/dev/cpu.c:1.13 Sat Aug 13 10:31:24 2011
+++ src/sys/arch/usermode/dev/cpu.c Sat Aug 13 12:18:54 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.13 2011/08/13 10:31:24 jmcneill Exp $ */
+/* $NetBSD: cpu.c,v 1.14 2011/08/13 12:18:54 jmcneill Exp $ */
/*-
* Copyright (c) 2007 Jared D. McNeill <[email protected]>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.13 2011/08/13 10:31:24 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.14 2011/08/13 12:18:54 jmcneill Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -315,16 +315,7 @@
void
cpu_startup(void)
{
- char pbuf[9];
-
banner();
-
- printf("%s%s", copyright, version);
- format_bytes(pbuf, sizeof(pbuf), ptoa(physmem));
- printf("total memory = %s\n", pbuf);
-
- format_bytes(pbuf, sizeof(pbuf), ptoa(uvmexp.free));
- printf("avail memory = %s\n", pbuf);
}
void