summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/powerpc/include/intr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/powerpc/include/intr.h b/sys/arch/powerpc/include/intr.h
index 626120e0a82..cf85f7476ea 100644
--- a/sys/arch/powerpc/include/intr.h
+++ b/sys/arch/powerpc/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.14 2002/01/21 17:18:46 drahn Exp $ */
+/* $OpenBSD: intr.h,v 1.15 2002/01/21 17:20:22 drahn Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom, Opsycon AB and RTMX Inc, USA.
@@ -84,7 +84,7 @@ splraise(int newcpl)
return(oldcpl);
}
-static _volatile _inline void
+volatile static __inline void
splx(int newcpl)
{
__asm__ volatile("":::"memory"); /* reorder protect */