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.
This commit is contained in:
parent
135a988400
commit
6e81558567
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user