diff options
author | Kenji Aoyama <aoyama@cvs.openbsd.org> | 2004-07-01 13:37:54 +0000 |
---|---|---|
committer | Kenji Aoyama <aoyama@cvs.openbsd.org> | 2004-07-01 13:37:54 +0000 |
commit | 0c922cc2c28276924487216037e2951d00ac584f (patch) | |
tree | 9b94e8f7966a936dc99c4565c3a2e49694593d77 /sys | |
parent | ac664251ec0543bee7502a93e1e5cda7598ca937 (diff) |
Delete unused functions and unnecessary flush_pipeline() at the
exit of interrupt handling routine. (sync with mvme88k)
ok miod@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/luna88k/luna88k/machdep.c | 35 |
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; |