diff options
Diffstat (limited to 'sys/arch/sparc64/include/psl.h')
-rw-r--r-- | sys/arch/sparc64/include/psl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc64/include/psl.h b/sys/arch/sparc64/include/psl.h index 485899a3573..51dc930645d 100644 --- a/sys/arch/sparc64/include/psl.h +++ b/sys/arch/sparc64/include/psl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: psl.h,v 1.20 2006/03/12 03:00:32 brad Exp $ */ +/* $OpenBSD: psl.h,v 1.21 2006/05/20 14:18:35 miod Exp $ */ /* $NetBSD: psl.h,v 1.20 2001/04/13 23:30:05 thorpej Exp $ */ /* @@ -342,6 +342,7 @@ extern __inline int name() \ : "=&r" (oldpil) \ : "n" (newpil) \ : "%g0"); \ + __asm __volatile("" : : : "memory"); \ return (oldpil); \ } /* A non-priority-decreasing version of SPL */ @@ -371,6 +372,7 @@ extern __inline int name() \ : "I" (newpil) \ : "cc"); \ } \ + __asm __volatile("" : : : "memory"); \ return (oldpil); \ } #endif |