summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-10-31 22:21:44 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-10-31 22:21:44 +0000
commit857c374d5cb8d2a75e4439b6055ff03c314697d8 (patch)
tree8488937dbb16b33604e3686556a3c9c89f534f82 /sys
parente2310b59beda3277ee96bdc89b31bb077754cfdc (diff)
Remove some XXX code that has been #ifdef'ed out for ages.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/sparc64/autoconf.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/sys/arch/sparc64/sparc64/autoconf.c b/sys/arch/sparc64/sparc64/autoconf.c
index 6c33cb24ff8..b8628b43b55 100644
--- a/sys/arch/sparc64/sparc64/autoconf.c
+++ b/sys/arch/sparc64/sparc64/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.73 2007/10/25 18:48:00 deraadt Exp $ */
+/* $OpenBSD: autoconf.c,v 1.74 2007/10/31 22:21:43 kettenis Exp $ */
/* $NetBSD: autoconf.c,v 1.51 2001/07/24 19:32:11 eeh Exp $ */
/*
@@ -497,10 +497,6 @@ bootpath_store(storep, bp)
void
cpu_configure()
{
-#if 0
- extern struct user *proc0paddr; /* XXX see below */
-#endif
-
/* build the bootpath */
bootpath_build();
@@ -528,15 +524,6 @@ cpu_configure()
/* Enable device interrupts */
setpstate(getpstate()|PSTATE_IE);
-#if 0
- /*
- * XXX Re-zero proc0's user area, to nullify the effect of the
- * XXX stack running into it during auto-configuration.
- * XXX - should fix stack usage.
- */
- bzero(proc0paddr, sizeof(struct user));
-#endif
-
(void)spl0();
cold = 0;
}