summaryrefslogtreecommitdiff
path: root/sys/arch/mips64
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-08-14 11:02:34 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-08-14 11:02:34 +0000
commitbb3fdfa8291acc35d5db62c3361d2883056bea8b (patch)
tree5b03bba6d14430b824914d1dfe740b18c94818a5 /sys/arch/mips64
parent7a5cb464cb9e625c495a794c61a769a8c4e866b5 (diff)
catched->caught
Diffstat (limited to 'sys/arch/mips64')
-rw-r--r--sys/arch/mips64/mips64/interrupt.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/mips64/mips64/interrupt.c b/sys/arch/mips64/mips64/interrupt.c
index e8d3024db5a..3e23dde6150 100644
--- a/sys/arch/mips64/mips64/interrupt.c
+++ b/sys/arch/mips64/mips64/interrupt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: interrupt.c,v 1.17 2005/07/20 21:55:50 miod Exp $ */
+/* $OpenBSD: interrupt.c,v 1.18 2005/08/14 11:02:30 miod Exp $ */
/*
* Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -562,10 +562,10 @@ intrmask_t
generic_iointr(intrmask_t pending, struct trap_frame *cf)
{
struct intrhand *ih;
- intrmask_t catched, vm;
+ intrmask_t caught, vm;
int v;
- catched = 0;
+ caught = 0;
set_ipending((pending >> 8) & cpl);
pending &= ~(cpl << 8);
@@ -579,14 +579,14 @@ generic_iointr(intrmask_t pending, struct trap_frame *cf)
while (ih) {
ih->frame = cf;
if ((*ih->ih_fun)(ih->ih_arg)) {
- catched |= vm;
+ caught |= vm;
ih->ih_count.ec_count++;
}
ih = ih->ih_next;
}
}
}
- return catched;
+ return caught;
}
#ifndef INLINE_SPLRAISE