diff options
Diffstat (limited to 'sys')
-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 18057a701a3..3341083146b 100644 --- a/sys/arch/i386/include/intr.h +++ b/sys/arch/i386/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.17 2002/07/19 16:23:29 art Exp $ */ +/* $OpenBSD: intr.h,v 1.18 2002/12/11 07:16:11 art Exp $ */ /* $NetBSD: intr.h,v 1.5 1996/05/13 06:11:28 mycroft Exp $ */ /* @@ -142,7 +142,7 @@ splraise(ncpl) if (ncpl > ocpl) cpl = ncpl; - __asm __volatile(""); + __asm __volatile("":::"memory"); return (ocpl); } @@ -155,7 +155,7 @@ void \ splx(ncpl) \ int ncpl; \ { \ - __asm __volatile(""); \ + __asm __volatile("":::"memory"); \ cpl = ncpl; \ if (ipending & IUNMASK(ncpl)) \ Xspllower(); \ |