Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/news68k/news68k Appease gcc -fno-common:
details: https://anonhg.NetBSD.org/src/rev/e88a16ebe5e8
branches: trunk
changeset: 780875:e88a16ebe5e8
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Fri Aug 10 12:17:51 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
- remove cn_tab = NULL initialization because no worth to patch it
Tested on NWS-1750.
diffstat:
sys/arch/news68k/news68k/machdep.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 0e5ae8f98f89 -r e88a16ebe5e8 sys/arch/news68k/news68k/machdep.c
--- a/sys/arch/news68k/news68k/machdep.c Fri Aug 10 12:12:18 2012 +0000
+++ b/sys/arch/news68k/news68k/machdep.c Fri Aug 10 12:17:51 2012 +0000
@@ -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 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 @@
#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;
Home |
Main Index |
Thread Index |
Old Index