Add misissing include and fix a few typos.
This commit is contained in:
parent
75e8ce56c6
commit
553cb56cc1
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: machdep.c,v 1.281 2008/10/15 06:51:18 wrstuden Exp $ */
|
||||
/* $NetBSD: machdep.c,v 1.282 2008/10/16 19:38:36 martin Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
|
||||
@ -71,7 +71,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.281 2008/10/15 06:51:18 wrstuden Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.282 2008/10/16 19:38:36 martin Exp $");
|
||||
|
||||
#include "opt_compat_netbsd.h"
|
||||
#include "opt_compat_sunos.h"
|
||||
@ -84,6 +84,7 @@ __KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.281 2008/10/15 06:51:18 wrstuden Exp $
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/extent.h>
|
||||
#include <sys/savar.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/device.h>
|
||||
#include <sys/reboot.h>
|
||||
@ -868,7 +869,7 @@ cpu_getmcontext(struct lwp *l, mcontext_t *mcp, unsigned int *flags)
|
||||
* registers into the pcb; we need them in the process's memory.
|
||||
*/
|
||||
write_user_windows();
|
||||
if ((l->l_flag & L_SA_SWITCHING) == 0 && rrwindow_save(l)) {
|
||||
if ((l->l_flag & LW_SA_SWITCHING) == 0 && rwindow_save(l)) {
|
||||
mutex_enter(l->l_proc->p_lock);
|
||||
sigexit(l, SIGILL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user