summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1995-08-09 02:39:32 +0000
committerdyson <dyson@FreeBSD.org>1995-08-09 02:39:32 +0000
commita463ec58450d57f9fe090bc6c56df46513503e6b (patch)
tree4ea7a305b2924f1aa81259bea7a922bc11737bd3
parent803ee03130010d282734e5ce86a40204145713c9 (diff)
downloadFreeBSD-src-a463ec58450d57f9fe090bc6c56df46513503e6b.zip
FreeBSD-src-a463ec58450d57f9fe090bc6c56df46513503e6b.tar.gz
Fixed my usage of "asm" instead of "__asm" and "volatile" instead
of "__volatile". Note also that the original mods that were submitted by me were as a result of a discussion between various FreeBSD contributors. Submitted by: peter@haywire.dialix.com (Peter Wemm)
-rw-r--r--sys/i386/include/spl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/include/spl.h b/sys/i386/include/spl.h
index 57aff7c..5cbffeb 100644
--- a/sys/i386/include/spl.h
+++ b/sys/i386/include/spl.h
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: spl.h,v 1.8 1995/05/11 07:44:16 bde Exp $
+ * $Id: spl.h,v 1.9 1995/08/08 04:50:50 dyson Exp $
*/
#ifndef _MACHINE_IPL_H_
@@ -105,7 +105,7 @@ static __inline int name(void) \
{ \
unsigned x; \
\
- asm volatile("":::"memory"); \
+ __asm __volatile("":::"memory"); \
x = cpl; \
set_cpl; \
return (x); \
OpenPOWER on IntegriCloud