diff --git a/sys/arch/x68k/x68k/machdep.c b/sys/arch/x68k/x68k/machdep.c index 01aba7d822d0..29cba8f23c33 100644 --- a/sys/arch/x68k/x68k/machdep.c +++ b/sys/arch/x68k/x68k/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.91 2000/12/18 02:46:49 minoura Exp $ */ +/* $NetBSD: machdep.c,v 1.92 2001/02/20 15:53:27 minoura Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -120,19 +120,19 @@ vm_map_t phys_map = NULL; extern paddr_t avail_start, avail_end; extern vaddr_t virtual_avail; +extern u_int lowram; +extern int end, *esym; caddr_t msgbufaddr; int maxmem; /* max memory per process */ int physmem = MAXMEM; /* max supported memory, changes to actual */ + /* * safepri is a safe priority for sleep to set for a spin-wait * during autoconfiguration or after a panic. */ int safepri = PSL_LOWIPL; -extern u_int lowram; -extern short exframesize[]; - #ifdef COMPAT_HPUX extern struct emul emul_hpux; #endif @@ -194,12 +194,7 @@ consinit() zs_kgdb_init(); /* XXX */ #endif #ifdef DDB - { - extern int end; - extern int *esym; - - ddb_init(*(int *)&end, ((int *)&end) + 1, esym); - } + ddb_init(*(int *)&end, ((int *)&end) + 1, esym); if (boothowto & RB_KDB) Debugger(); #endif @@ -585,7 +580,6 @@ cpu_reboot(howto, bootstr) void cpu_init_kcore_hdr() { - extern int end; cpu_kcore_hdr_t *h = &cpu_kcore_hdr; struct m68k_kcore_hdr *m = &h->un._m68k; int i;