Oops; redo previous.

This commit is contained in:
uebayasi 2008-10-17 00:46:07 +00:00
parent 8922bc6f78
commit b4f453049e
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: mips_machdep.c,v 1.204 2008/10/17 00:29:21 uebayasi Exp $ */
/* $NetBSD: mips_machdep.c,v 1.205 2008/10/17 00:46:07 uebayasi Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@ -112,7 +112,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.204 2008/10/17 00:29:21 uebayasi Exp $");
__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.205 2008/10/17 00:46:07 uebayasi Exp $");
#include "opt_cputype.h"
@ -1713,7 +1713,7 @@ cpu_upcall(struct lwp *l, int type, int nevents, int ninterrupted,
sf = (struct saframe *)sp - 1;
if (copyout(&frame, sf, sizeof(frame)) != 0) {
/* Copying onto the stack didn't work. Die. */
mutex_enter(&l->l_proc->p_lock);
mutex_enter(l->l_proc->p_lock);
sigexit(l, SIGILL);
/* NOTREACHED */
}