summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-04-24 16:47:37 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-04-24 16:47:37 +0000
commit39bc877970a694905bb2c93ada0f234d487a146e (patch)
treeab04b3cc882c8ae029c7f3f9bd2b2389cfc69a6d
parent6ca7f8b4044ca8b3d6e69c369c61fea62b0e572d (diff)
exeption -> exception
-rw-r--r--sys/arch/mips64/include/exception.h4
-rw-r--r--sys/arch/mips64/mips64/exception.S12
-rw-r--r--usr.bin/xlint/lint1/cgram.y6
3 files changed, 11 insertions, 11 deletions
diff --git a/sys/arch/mips64/include/exception.h b/sys/arch/mips64/include/exception.h
index f0e9866aaeb..eacbaafafea 100644
--- a/sys/arch/mips64/include/exception.h
+++ b/sys/arch/mips64/include/exception.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: exception.h,v 1.4 2004/09/16 07:25:24 miod Exp $ */
+/* $OpenBSD: exception.h,v 1.5 2007/04/24 16:47:34 miod Exp $ */
/*
* Copyright (c) 1998-2003 Opsycon AB (www.opsycon.se)
@@ -27,7 +27,7 @@
*/
/*
- * Definitions for exeption processing.
+ * Definitions for exception processing.
*/
#ifndef _MIPS_EXCEPTION_H_
diff --git a/sys/arch/mips64/mips64/exception.S b/sys/arch/mips64/mips64/exception.S
index dcabd4539c7..294b7c058ab 100644
--- a/sys/arch/mips64/mips64/exception.S
+++ b/sys/arch/mips64/mips64/exception.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: exception.S,v 1.9 2007/03/23 21:07:38 miod Exp $ */
+/* $OpenBSD: exception.S,v 1.10 2007/04/24 16:47:36 miod Exp $ */
/*
* Copyright (c) 2002-2003 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -331,7 +331,7 @@ NNON_LEAF(u_intr, FRAMESZ(CF_SZ), ra)
sw t2, (t1)
ori t0, SR_EXL # restoring to user mode.
- mtc0 t0, COP_0_STATUS_REG # must set exeption level bit.
+ mtc0 t0, COP_0_STATUS_REG # must set exception level bit.
PTR_L k0, curprocpaddr
RESTORE_REG(a3, CPL, k0, 0)
@@ -469,7 +469,7 @@ NNON_LEAF(u_general, FRAMESZ(CF_SZ), ra)
ITLBNOPFIX
ori t0, SR_EXL # restoring to user mode.
- mtc0 t0, COP_0_STATUS_REG # must set exeption level bit.
+ mtc0 t0, COP_0_STATUS_REG # must set exception level bit.
ITLBNOPFIX
PTR_L k0, curprocpaddr
@@ -560,7 +560,7 @@ NNON_LEAF(u_syscall, FRAMESZ(CF_SZ), ra)
ITLBNOPFIX
ori t0, SR_EXL
- mtc0 t0, COP_0_STATUS_REG # set exeption level
+ mtc0 t0, COP_0_STATUS_REG # set exception level
ITLBNOPFIX
#if 0
@@ -589,7 +589,7 @@ NNON_LEAF(u_syscall, FRAMESZ(CF_SZ), ra)
.set noat
REG_L a0, UADDR+PCB_REGS+(SR * REGSZ)
- mtc0 a0, COP_0_STATUS_REG # still exeption level
+ mtc0 a0, COP_0_STATUS_REG # still exception level
REG_L a0, UADDR+PCB_REGS+(PC * REGSZ)
REG_L v0, UADDR+PCB_REGS+(V0 * REGSZ)
dmtc0 a0, COP_0_EXC_PC # set return address
@@ -648,7 +648,7 @@ LEAF(proc_trampoline, 0)
ITLBNOPFIX
ori t0, SR_EXL # restoring to user mode.
- mtc0 t0, COP_0_STATUS_REG # must set exeption level bit.
+ mtc0 t0, COP_0_STATUS_REG # must set exception level bit.
ITLBNOPFIX
.set noat
diff --git a/usr.bin/xlint/lint1/cgram.y b/usr.bin/xlint/lint1/cgram.y
index cd88d42b921..4f90fabe01d 100644
--- a/usr.bin/xlint/lint1/cgram.y
+++ b/usr.bin/xlint/lint1/cgram.y
@@ -1,5 +1,5 @@
%{
-/* $OpenBSD: cgram.y,v 1.20 2006/05/29 20:47:22 cloder Exp $ */
+/* $OpenBSD: cgram.y,v 1.21 2007/04/24 16:47:36 miod Exp $ */
/* $NetBSD: cgram.y,v 1.8 1995/10/02 17:31:35 jpo Exp $ */
/*
@@ -34,7 +34,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: cgram.y,v 1.20 2006/05/29 20:47:22 cloder Exp $";
+static char rcsid[] = "$OpenBSD: cgram.y,v 1.21 2007/04/24 16:47:36 miod Exp $";
#endif
#include <stdlib.h>
@@ -50,7 +50,7 @@ int blklev;
/*
* level for memory allocation. Normaly the same as blklev.
- * An exeption is the declaration of arguments in prototypes. Memory
+ * An exception is the declaration of arguments in prototypes. Memory
* for these can't be freed after the declaration, but symbols must
* be removed from the symbol table after the declaration.
*/