diff --git a/sys/compat/linux/arch/powerpc/linux_machdep.c b/sys/compat/linux/arch/powerpc/linux_machdep.c index 5817b7de59bf..7a35234fa7dd 100644 --- a/sys/compat/linux/arch/powerpc/linux_machdep.c +++ b/sys/compat/linux/arch/powerpc/linux_machdep.c @@ -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 */ diff --git a/sys/compat/linux/arch/powerpc/linux_machdep.h b/sys/compat/linux/arch/powerpc/linux_machdep.h index 123d857aa3e8..b1fbf02069b8 100644 --- a/sys/compat/linux/arch/powerpc/linux_machdep.h +++ b/sys/compat/linux/arch/powerpc/linux_machdep.h @@ -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 */