summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-08-06 22:39:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-08-06 22:39:15 +0000
commit73914ffd89164ae4922dd6a502c2fceec721ea17 (patch)
tree3ee93e2f122ad8b61ff6cdacc8c317d4e7dd98b9 /sys/arch/sparc
parent339361111fbb7c45f818e96281d2f887724981db (diff)
rename sparc kill_user_windows() to pmap_unuse_final(). provide empty stubs
on all other architectures. remove last architecture dependent #ifdef from uvm code.
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/include/cpu.h4
-rw-r--r--sys/arch/sparc/sparc/trap.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sparc/include/cpu.h b/sys/arch/sparc/include/cpu.h
index a1ca691938a..872dce25b8f 100644
--- a/sys/arch/sparc/include/cpu.h
+++ b/sys/arch/sparc/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.21 2004/06/13 21:49:19 niklas Exp $ */
+/* $OpenBSD: cpu.h,v 1.22 2004/08/06 22:39:14 deraadt Exp $ */
/* $NetBSD: cpu.h,v 1.24 1997/03/15 22:25:15 pk Exp $ */
/*
@@ -207,7 +207,7 @@ void qzero(void *, size_t);
/* locore2.c */
void remrunqueue(struct proc *);
/* trap.c */
-void kill_user_windows(struct proc *);
+void pmap_unuse_final(struct proc *);
int rwindow_save(struct proc *);
/* amd7930intr.s */
void amd7930_trap(void);
diff --git a/sys/arch/sparc/sparc/trap.c b/sys/arch/sparc/sparc/trap.c
index eca85b15b78..dbbc17a2997 100644
--- a/sys/arch/sparc/sparc/trap.c
+++ b/sys/arch/sparc/sparc/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.40 2003/05/12 04:42:58 jason Exp $ */
+/* $OpenBSD: trap.c,v 1.41 2004/08/06 22:39:14 deraadt Exp $ */
/* $NetBSD: trap.c,v 1.58 1997/09/12 08:55:01 pk Exp $ */
/*
@@ -624,7 +624,7 @@ rwindow_save(p)
* the registers into the new process after the exec.
*/
void
-kill_user_windows(p)
+pmap_unuse_final(p)
struct proc *p;
{