summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-02-27 23:45:24 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-02-27 23:45:24 +0000
commit4921339a9dca220d0b38262be57229e5646eec10 (patch)
treee59beeb2d67d732f1ff25ff8bd2334b83c29af9b /sys
parente5240435f2a680a24b7cfa751b8bcd6514d2a4ef (diff)
remove old crud
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/amd64/autoconf.c5
-rw-r--r--sys/arch/amd64/amd64/gdt.c4
-rw-r--r--sys/arch/amd64/amd64/machdep.c4
3 files changed, 4 insertions, 9 deletions
diff --git a/sys/arch/amd64/amd64/autoconf.c b/sys/arch/amd64/amd64/autoconf.c
index 08792e43f10..86ba4444e62 100644
--- a/sys/arch/amd64/amd64/autoconf.c
+++ b/sys/arch/amd64/amd64/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.5 2004/02/25 00:16:04 deraadt Exp $ */
+/* $OpenBSD: autoconf.c,v 1.6 2004/02/27 23:45:23 deraadt Exp $ */
/* $NetBSD: autoconf.c,v 1.1 2003/04/26 18:39:26 fvdl Exp $ */
/*-
@@ -85,9 +85,6 @@ int findblkmajor(struct device *);
char *findblkname(int);
struct device * parsedisk(char *, int, int, dev_t *);
-extern struct disklist *x86_64_alldisks;
-extern int x86_64_ndisks;
-
#if 0
#include "bios32.h"
#if NBIOS32 > 0
diff --git a/sys/arch/amd64/amd64/gdt.c b/sys/arch/amd64/amd64/gdt.c
index 4790b079614..a3d97358368 100644
--- a/sys/arch/amd64/amd64/gdt.c
+++ b/sys/arch/amd64/amd64/gdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gdt.c,v 1.1 2004/01/28 01:39:38 mickey Exp $ */
+/* $OpenBSD: gdt.c,v 1.2 2004/02/27 23:45:23 deraadt Exp $ */
/* $NetBSD: gdt.c,v 1.1 2003/04/26 18:39:28 fvdl Exp $ */
/*-
@@ -38,7 +38,7 @@
*/
/*
- * Modified to deal with variable-length entries for NetBSD/x86_64 by
+ * Modified to deal with variable-length entries for amd64 by
* fvdl@wasabisystems.com, may 2001
* XXX this file should be shared with the i386 code, the difference
* can be hidden in macros.
diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c
index 528319c8e4d..72bcb8275cd 100644
--- a/sys/arch/amd64/amd64/machdep.c
+++ b/sys/arch/amd64/amd64/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.16 2004/02/27 22:10:01 deraadt Exp $ */
+/* $OpenBSD: machdep.c,v 1.17 2004/02/27 23:45:23 deraadt Exp $ */
/* $NetBSD: machdep.c,v 1.3 2003/05/07 22:58:18 fvdl Exp $ */
/*-
@@ -144,8 +144,6 @@
char machine[] = "amd64"; /* cpu "architecture" */
char machine_arch[] = "amd64"; /* machine == machine_arch */
-int x86_64_ndisks = 0;
-
#ifdef CPURESET_DELAY
int cpureset_delay = CPURESET_DELAY;
#else