Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Remove redundant declarations.
details: https://anonhg.NetBSD.org/src/rev/54a6aaedfad9
branches: trunk
changeset: 526889:54a6aaedfad9
user: matt <matt%NetBSD.org@localhost>
date: Mon May 13 07:04:24 2002 +0000
description:
Remove redundant declarations.
diffstat:
sys/arch/powerpc/ibm4xx/intr.c | 4 ++--
sys/arch/powerpc/include/ibm4xx/cpu.h | 4 ++--
sys/arch/walnut/walnut/locore.S | 6 +-----
sys/arch/walnut/walnut/machdep.c | 7 +------
4 files changed, 6 insertions(+), 15 deletions(-)
diffs (84 lines):
diff -r be576e216e4b -r 54a6aaedfad9 sys/arch/powerpc/ibm4xx/intr.c
--- a/sys/arch/powerpc/ibm4xx/intr.c Mon May 13 06:41:30 2002 +0000
+++ b/sys/arch/powerpc/ibm4xx/intr.c Mon May 13 07:04:24 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.c,v 1.1 2002/03/13 00:40:50 eeh Exp $ */
+/* $NetBSD: intr.c,v 1.2 2002/05/13 07:04:24 matt Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@@ -56,7 +56,7 @@
static inline int cntlzw(int);
-volatile int cpl, ipending, astpending;
+volatile int cpl, ipending;
u_long imask[NIPL];
static int intrtype[ICU_LEN], intrmask[ICU_LEN], intrlevel[ICU_LEN];
diff -r be576e216e4b -r 54a6aaedfad9 sys/arch/powerpc/include/ibm4xx/cpu.h
--- a/sys/arch/powerpc/include/ibm4xx/cpu.h Mon May 13 06:41:30 2002 +0000
+++ b/sys/arch/powerpc/include/ibm4xx/cpu.h Mon May 13 07:04:24 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.2 2002/03/15 20:59:24 eeh Exp $ */
+/* $NetBSD: cpu.h,v 1.3 2002/05/13 07:04:24 matt Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@@ -72,7 +72,7 @@
unsigned int processor_speed;
unsigned int plb_speed;
unsigned int pci_speed;
-} board_data;
+};
extern struct board_cfg_data board_data;
diff -r be576e216e4b -r 54a6aaedfad9 sys/arch/walnut/walnut/locore.S
--- a/sys/arch/walnut/walnut/locore.S Mon May 13 06:41:30 2002 +0000
+++ b/sys/arch/walnut/walnut/locore.S Mon May 13 07:04:24 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.5 2002/03/13 23:11:33 eeh Exp $ */
+/* $NetBSD: locore.S,v 1.6 2002/05/13 07:04:25 matt Exp $ */
/* $OpenBSD: locore.S,v 1.4 1997/01/26 09:06:38 rahnds Exp $ */
/*
@@ -99,10 +99,6 @@
/*
* Globals
*/
-GLOBAL(startsym)
- .long 0 /* start symbol table */
-GLOBAL(endsym)
- .long 0 /* end symbol table */
GLOBAL(proc0paddr)
.long 0 /* proc0 p_addr */
diff -r be576e216e4b -r 54a6aaedfad9 sys/arch/walnut/walnut/machdep.c
--- a/sys/arch/walnut/walnut/machdep.c Mon May 13 06:41:30 2002 +0000
+++ b/sys/arch/walnut/walnut/machdep.c Mon May 13 07:04:24 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.6 2002/03/15 20:59:23 eeh Exp $ */
+/* $NetBSD: machdep.c,v 1.7 2002/05/13 07:04:25 matt Exp $ */
/*
* Copyright 2001, 2002 Wasabi Systems, Inc.
@@ -121,9 +121,6 @@
char machine[] = MACHINE; /* from <machine/param.h> */
char machine_arch[] = MACHINE_ARCH; /* from <machine/param.h> */
-/* Our exported CPU info; we have only one right now. */
-struct cpu_info cpu_info_store;
-
struct pcb *curpcb;
struct pmap *curpm;
struct proc *fpuproc; /* XXX - shouldn't need this on fpu-less CPUs */
@@ -134,8 +131,6 @@
paddr_t msgbuf_paddr;
vaddr_t msgbuf_vaddr;
-int msgbufmapped = 0;
-
#ifdef DDB
void *startsym, *endsym;
#endif
Home |
Main Index |
Thread Index |
Old Index