From 553cb56cc1ce43b0d82ebc6ae1beddb0cef58a54 Mon Sep 17 00:00:00 2001 From: martin Date: Thu, 16 Oct 2008 19:38:36 +0000 Subject: [PATCH] Add misissing include and fix a few typos. --- sys/arch/sparc/sparc/machdep.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/arch/sparc/sparc/machdep.c b/sys/arch/sparc/sparc/machdep.c index 76e712c21790..2d03c982888b 100644 --- a/sys/arch/sparc/sparc/machdep.c +++ b/sys/arch/sparc/sparc/machdep.c @@ -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 -__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 #include #include +#include #include #include #include @@ -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); }