Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hp300/hp300 Appease gcc -fno-common:



details:   https://anonhg.NetBSD.org/src/rev/9fbbef723d92
branches:  trunk
changeset: 780878:9fbbef723d92
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Aug 10 12:29:59 2012 +0000

description:
Appease gcc -fno-common:
 - remove initialzation of physmem since it's properly initialized
   before pmap_bootstrap() using a value passed from bootloader and
   sanity possible maximum value is not necessary
Tested on HP382.

diffstat:

 sys/arch/hp300/hp300/machdep.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 54b047e69144 -r 9fbbef723d92 sys/arch/hp300/hp300/machdep.c
--- a/sys/arch/hp300/hp300/machdep.c    Fri Aug 10 12:20:10 2012 +0000
+++ b/sys/arch/hp300/hp300/machdep.c    Fri Aug 10 12:29:59 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.225 2012/07/27 05:36:10 matt Exp $       */
+/*     $NetBSD: machdep.c,v 1.226 2012/08/10 12:29:59 tsutsui Exp $    */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.225 2012/07/27 05:36:10 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.226 2012/08/10 12:29:59 tsutsui Exp $");
 
 #include "opt_ddb.h"
 #include "opt_compat_netbsd.h"
@@ -129,7 +129,6 @@
 vaddr_t        bootinfo_va;
 
 int    maxmem;                 /* max memory per process */
-int    physmem = MAXMEM;       /* max supported memory, changes to actual */
 
 extern u_int lowram;
 extern short exframesize[];



Home | Main Index | Thread Index | Old Index