SCCS-vsn: sys/pmax/pmax/vm_machdep.c 8.2
*
* from: Utah $Hdr: vm_machdep.c 1.21 91/04/06$
*
*
* from: Utah $Hdr: vm_machdep.c 1.21 91/04/06$
*
- * @(#)vm_machdep.c 8.1 (Berkeley) %G%
+ * @(#)vm_machdep.c 8.2 (Berkeley) %G%
*/
#include <sys/param.h>
*/
#include <sys/param.h>
* cpu_exit is called as the last action during exit.
* We release the address space and machine-dependent resources,
* including the memory for the user structure and kernel stack.
* cpu_exit is called as the last action during exit.
* We release the address space and machine-dependent resources,
* including the memory for the user structure and kernel stack.
- * Once finished, we call swtch_exit, which switches to a temporary
+ * Once finished, we call switch_exit, which switches to a temporary
* pcb and stack and never returns. We block memory allocation
* pcb and stack and never returns. We block memory allocation
- * until swtch_exit has made things safe again.
+ * until switch_exit has made things safe again.
*/
cpu_exit(p)
struct proc *p;
*/
cpu_exit(p)
struct proc *p;
(void) splhigh();
kmem_free(kernel_map, (vm_offset_t)p->p_addr, ctob(UPAGES));
(void) splhigh();
kmem_free(kernel_map, (vm_offset_t)p->p_addr, ctob(UPAGES));