From owner-svn-src-all@FreeBSD.ORG Thu Jan 15 08:01:51 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D5DE1065670; Thu, 15 Jan 2009 08:01:51 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 0CF268FC08; Thu, 15 Jan 2009 08:01:51 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n0F81ovg068843; Thu, 15 Jan 2009 08:01:50 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n0F81o2e068842; Thu, 15 Jan 2009 08:01:50 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <200901150801.n0F81o2e068842@svn.freebsd.org> From: Warner Losh Date: Thu, 15 Jan 2009 08:01:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r187295 - head/sys/mips/mips X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2009 08:01:51 -0000 Author: imp Date: Thu Jan 15 08:01:50 2009 New Revision: 187295 URL: http://svn.freebsd.org/changeset/base/187295 Log: MFp4: Remove Maxmem. It isn't used elsewhere in the system at this point... realmem is used instead. Modified: head/sys/mips/mips/machdep.c Modified: head/sys/mips/mips/machdep.c ============================================================================== --- head/sys/mips/mips/machdep.c Thu Jan 15 07:51:17 2009 (r187294) +++ head/sys/mips/mips/machdep.c Thu Jan 15 08:01:50 2009 (r187295) @@ -85,6 +85,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #ifdef DDB #include #include @@ -102,7 +103,6 @@ static char cpu_model[30]; SYSCTL_STRING(_hw, HW_MODEL, model, CTLFLAG_RD, cpu_model, 0, "Machine model"); int cold = 1; -int Maxmem; long realmem = 0; int cpu_clock = MIPS_DEFAULT_HZ; SYSCTL_INT(_hw, OID_AUTO, clockrate, CTLFLAG_RD, @@ -157,14 +157,9 @@ cpu_startup(void *dummy) if (boothowto & RB_VERBOSE) bootverbose++; + printf("real memory = %lu (%luK bytes)\n", ptoa(realmem), ptoa(realmem) / 1024); /* - * Good {morning,afternoon,evening,night}. - */ - printf("real memory = %lu (%luK bytes)\n", ptoa(Maxmem), - ptoa(Maxmem) / 1024); - realmem = Maxmem; - /* * Display any holes after the first chunk of extended memory. */ if (bootverbose) {