diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-08-09 10:13:24 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-08-09 10:13:24 +0000 |
commit | b0a01b93d09d001bd48236ab1fab616cb1c6e9dc (patch) | |
tree | 8020fa8b030eee6cbf9161d291c49e6b0134baad /sys | |
parent | a0d742f46d919b39177bf0872e3b8bd41f251643 (diff) |
Needs a non-empty pmap_unuse_final() as sparc.
Spotted by: art@ No cookie for: deraadt@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc64/include/cpu.h | 4 | ||||
-rw-r--r-- | sys/arch/sparc64/include/pmap.h | 1 | ||||
-rw-r--r-- | sys/arch/sparc64/sparc64/trap.c | 4 |
3 files changed, 4 insertions, 5 deletions
diff --git a/sys/arch/sparc64/include/cpu.h b/sys/arch/sparc64/include/cpu.h index faa8964f581..4d5530e0753 100644 --- a/sys/arch/sparc64/include/cpu.h +++ b/sys/arch/sparc64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.28 2004/06/21 23:12:14 art Exp $ */ +/* $OpenBSD: cpu.h,v 1.29 2004/08/09 10:13:21 miod Exp $ */ /* $NetBSD: cpu.h,v 1.28 2001/06/14 22:56:58 thorpej Exp $ */ /* @@ -232,7 +232,7 @@ void switchtoctx(int); /* locore2.c */ void remrq(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/sparc64/include/pmap.h b/sys/arch/sparc64/include/pmap.h index 977209d6ff7..b40e7ce2c13 100644 --- a/sys/arch/sparc64/include/pmap.h +++ b/sys/arch/sparc64/include/pmap.h @@ -164,7 +164,6 @@ int pmap_count_res(pmap_t pmap); #define pmap_update(pm) /* nothing (yet) */ #define pmap_proc_iflush(p,va,len) /* nothing */ -#define pmap_unuse_final(p) /* nothing */ void pmap_bootstrap(u_long kernelstart, u_long kernelend, u_int numctx); /* make sure all page mappings are modulo 16K to prevent d$ aliasing */ diff --git a/sys/arch/sparc64/sparc64/trap.c b/sys/arch/sparc64/sparc64/trap.c index 2bd2a650768..b447afb1b64 100644 --- a/sys/arch/sparc64/sparc64/trap.c +++ b/sys/arch/sparc64/sparc64/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.31 2004/01/10 09:10:07 deraadt Exp $ */ +/* $OpenBSD: trap.c,v 1.32 2004/08/09 10:13:23 miod Exp $ */ /* $NetBSD: trap.c,v 1.73 2001/08/09 01:03:01 eeh Exp $ */ /* @@ -789,7 +789,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; { |