summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2010-05-09 12:03:17 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2010-05-09 12:03:17 +0000
commite046f9e4e764ba6ee125a7a13a1a0c72a2d8d8bc (patch)
tree9b8fd0bca04e735f26527f6330e5ddc50dee543c /sys/arch/i386/isa
parent84a0a09ec5f6e671f5a8891620a02dc216be402c (diff)
Make i386 use a pointer to the trap frame like everybody else instead of
the weird "pass by reference" that causes problems with gcc4. ok nicm@, tom@
Diffstat (limited to 'sys/arch/i386/isa')
-rw-r--r--sys/arch/i386/isa/icu.s4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/i386/isa/icu.s b/sys/arch/i386/isa/icu.s
index 6fbffe7ead9..42ab42a2370 100644
--- a/sys/arch/i386/isa/icu.s
+++ b/sys/arch/i386/isa/icu.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: icu.s,v 1.29 2008/05/21 18:49:47 kettenis Exp $ */
+/* $OpenBSD: icu.s,v 1.30 2010/05/09 12:03:16 kettenis Exp $ */
/* $NetBSD: icu.s,v 1.45 1996/01/07 03:59:34 mycroft Exp $ */
/*-
@@ -109,7 +109,9 @@ IDTVEC(doreti)
sti
movl $T_ASTFLT,TF_TRAPNO(%esp) /* XXX undo later. */
/* Pushed T_ASTFLT into tf_trapno on entry. */
+ pushl %esp
call _C_LABEL(trap)
+ addl $4,%esp
cli
jmp 2b
3: INTRFASTEXIT