Module Name: src Committed By: tsutsui Date: Fri Aug 10 12:17:51 UTC 2012
Modified Files: src/sys/arch/news68k/news68k: machdep.c Log Message: 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 - remove cn_tab = NULL initialization because no worth to patch it Tested on NWS-1750. To generate a diff of this commit: cvs rdiff -u -r1.99 -r1.100 src/sys/arch/news68k/news68k/machdep.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/news68k/news68k/machdep.c diff -u src/sys/arch/news68k/news68k/machdep.c:1.99 src/sys/arch/news68k/news68k/machdep.c:1.100 --- src/sys/arch/news68k/news68k/machdep.c:1.99 Fri Jul 27 05:36:11 2012 +++ src/sys/arch/news68k/news68k/machdep.c Fri Aug 10 12:17:51 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.99 2012/07/27 05:36:11 matt Exp $ */ +/* $NetBSD: machdep.c,v 1.100 2012/08/10 12:17:51 tsutsui Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -39,7 +39,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.99 2012/07/27 05:36:11 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.100 2012/08/10 12:17:51 tsutsui Exp $"); #include "opt_ddb.h" #include "opt_compat_netbsd.h" @@ -111,7 +111,6 @@ struct cpu_info cpu_info_store; struct vm_map *phys_map = NULL; int maxmem; /* max memory per process */ -int physmem = MAXMEM; /* max supported memory, changes to actual */ extern paddr_t avail_start, avail_end; extern int end, *esym; @@ -968,7 +967,6 @@ intrhand_lev4(void) #define SW_FBPOP2 0x03 #define SW_AUTOSEL 0x07 -struct consdev *cn_tab = NULL; extern struct consdev consdev_rom, consdev_zs; int tty00_is_console = 0;