diff options
author | Peter Valchev <pvalchev@cvs.openbsd.org> | 2004-12-24 21:22:02 +0000 |
---|---|---|
committer | Peter Valchev <pvalchev@cvs.openbsd.org> | 2004-12-24 21:22:02 +0000 |
commit | b11ac86a3fab5005d005684c5a1872b7ce954767 (patch) | |
tree | eaa1706ec69e4561ef3a97b7a52f68c17b9caaab /sys/arch/i386/include | |
parent | 3313f98620cd834b80a7ac8c30829b7c50747781 (diff) |
Rewrite intlock/intunlock not to pass around interrupt frame directly
without copying which is against C conventions and broke GENERIC.MP
with a gcc3 optimization
From niklas, tested by many
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r-- | sys/arch/i386/include/intr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/include/intr.h b/sys/arch/i386/include/intr.h index 1169873a9f6..a7606ca005b 100644 --- a/sys/arch/i386/include/intr.h +++ b/sys/arch/i386/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.22 2004/06/16 18:27:26 grange Exp $ */ +/* $OpenBSD: intr.h,v 1.23 2004/12/24 21:22:01 pvalchev Exp $ */ /* $NetBSD: intr.h,v 1.5 1996/05/13 06:11:28 mycroft Exp $ */ /* @@ -142,8 +142,8 @@ int i386_send_ipi(struct cpu_info *, int); void i386_broadcast_ipi(int); void i386_multicast_ipi(int, int); void i386_ipi_handler(void); -void i386_intlock(struct intrframe); -void i386_intunlock(struct intrframe); +void i386_intlock(int); +void i386_intunlock(int); void i386_softintlock(void); void i386_softintunlock(void); |