diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-05-21 23:16:07 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-05-21 23:16:07 +0000 |
commit | f1f5944a0f777bd78eb124e1b196168ec1470e97 (patch) | |
tree | 36b8490cfa0736250ee30144ab28b23d29021ad3 /sys/arch/alpha | |
parent | ab85eaf41a67e71bd50a0c4445544f2f977cb401 (diff) |
remove switch_exit() prototypes, replaced by sched_exit()
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/alpha/vm_machdep.c | 4 | ||||
-rw-r--r-- | sys/arch/alpha/include/cpu.h | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/alpha/alpha/vm_machdep.c b/sys/arch/alpha/alpha/vm_machdep.c index b04a12651ea..78cd325037c 100644 --- a/sys/arch/alpha/alpha/vm_machdep.c +++ b/sys/arch/alpha/alpha/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.52 2023/10/24 13:20:09 claudio Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.53 2024/05/21 23:16:06 jsg Exp $ */ /* $NetBSD: vm_machdep.c,v 1.55 2000/03/29 03:49:48 simonb Exp $ */ /* @@ -59,7 +59,7 @@ cpu_exit(p) /* * Deactivate the exiting address space before the vmspace * is freed. Note that we will continue to run on this - * vmspace's context until the switch to idle in switch_exit(). + * vmspace's context until the switch to idle in sched_exit(). */ pmap_deactivate(p); sched_exit(p); diff --git a/sys/arch/alpha/include/cpu.h b/sys/arch/alpha/include/cpu.h index 62748d3346f..f91536fe066 100644 --- a/sys/arch/alpha/include/cpu.h +++ b/sys/arch/alpha/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.73 2024/03/31 07:23:29 miod Exp $ */ +/* $OpenBSD: cpu.h,v 1.74 2024/05/21 23:16:06 jsg Exp $ */ /* $NetBSD: cpu.h,v 1.45 2000/08/21 02:03:12 thorpej Exp $ */ /*- @@ -145,7 +145,6 @@ void proc_trampoline(void); /* MAGIC */ void regdump(struct trapframe *); void regtoframe(struct reg *, struct trapframe *); void savectx(struct pcb *); -void switch_exit(struct proc *); /* MAGIC */ void syscall(u_int64_t, struct trapframe *); void trap(unsigned long, unsigned long, unsigned long, unsigned long, struct trapframe *); |