summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2002-01-21 17:20:23 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2002-01-21 17:20:23 +0000
commitf133832807cf94b6476b65e330b44f2e975c37f6 (patch)
tree5f47ab9a3f56e6c97a169408d9bdbaaf574c9bc6 /sys
parent160845aaacd9696e989d1441d7281ae99f263350 (diff)
ARGH, fix it right...
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 */