Fixed two typo in comments

This commit is contained in:
manu 2001-05-27 21:11:12 +00:00
parent ebf9e47c26
commit 383c1b6319
2 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_machdep.c,v 1.8 2001/04/11 19:41:03 manu Exp $ */
/* $NetBSD: linux_machdep.c,v 1.9 2001/05/27 21:11:53 manu Exp $ */
/*-
* Copyright (c) 1995, 2000, 2001 The NetBSD Foundation, Inc.
@ -215,7 +215,7 @@ linux_sendsig(catcher, sig, mask, code) /* XXX Check me */
if (copyout(&frame, (caddr_t)fp, sizeof (frame) - LINUX_ABIGAP) != 0) {
/*
* Process has trashed its stack; give it an illegal
* instructoin to halt it in its tracks.
* instruction to halt it in its tracks.
*/
sigexit(p, SIGILL);
/* NOTREACHED */
@ -228,7 +228,7 @@ linux_sendsig(catcher, sig, mask, code) /* XXX Check me */
if (copyout(&sc, (caddr_t)fp, sizeof (struct linux_sigcontext)) != 0) {
/*
* Process has trashed its stack; give it an illegal
* instructoin to halt it in its tracks.
* instruction to halt it in its tracks.
*/
sigexit(p, SIGILL);
/* NOTREACHED */

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_machdep.h,v 1.2 2001/04/12 19:32:35 manu Exp $ */
/* $NetBSD: linux_machdep.h,v 1.3 2001/05/27 21:11:12 manu Exp $ */
/*-
* Copyright (c) 1995, 2000, 2001 The NetBSD Foundation, Inc.
@ -45,7 +45,9 @@
* Needed for sigcontext
*/
struct linux_pt_regs {
#define lpt_regs_fixreg_begin lgpr[0]
unsigned long lgpr[32];
#define lpt_regs_fixreg_end lgpr[31]
unsigned long lnip;
unsigned long lmsr;
unsigned long lorig_gpr3; /* Used for restarting system calls */