summaryrefslogtreecommitdiff
path: root/sys/arch/luna88k
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/luna88k')
-rw-r--r--sys/arch/luna88k/luna88k/machdep.c35
1 files changed, 1 insertions, 34 deletions
diff --git a/sys/arch/luna88k/luna88k/machdep.c b/sys/arch/luna88k/luna88k/machdep.c
index cd1871a6d97..29da3aa8680 100644
--- a/sys/arch/luna88k/luna88k/machdep.c
+++ b/sys/arch/luna88k/luna88k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.6 2004/06/14 12:57:02 aoyama Exp $ */
+/* $OpenBSD: machdep.c,v 1.7 2004/07/01 13:37:53 aoyama Exp $ */
/*
* Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -1320,7 +1320,6 @@ out:
* was taken.
*/
setipl(eframe->tf_mask);
- flush_pipeline(); /* XXX: need this? */
}
int
@@ -1382,38 +1381,6 @@ cpu_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p)
/*NOTREACHED*/
}
-/*
- * insert an element into a queue
- */
-
-void
-_insque(velement, vhead)
- void *velement, *vhead;
-{
- struct prochd *element, *head;
- element = velement;
- head = vhead;
- element->ph_link = head->ph_link;
- head->ph_link = (struct proc *)element;
- element->ph_rlink = (struct proc *)head;
- ((struct prochd *)(element->ph_link))->ph_rlink=(struct proc *)element;
-}
-
-/*
- * remove an element from a queue
- */
-
-void
-_remque(velement)
- void *velement;
-{
- struct prochd *element;
- element = velement;
- ((struct prochd *)(element->ph_link))->ph_rlink = element->ph_rlink;
- ((struct prochd *)(element->ph_rlink))->ph_link = element->ph_link;
- element->ph_rlink = (struct proc *)0;
-}
-
int
copystr(fromaddr, toaddr, maxlength, lencopied)
const void *fromaddr;