summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-08-01 07:45:44 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-08-01 07:45:44 +0000
commitba6a08c4c45dbb9ee7cf27d2fcfa7c9ce8d7f4f8 (patch)
tree64d2595e9f120241e5ec5f4811ac82c5a9834818 /sys/arch/mvme88k
parent863f978cfe2a0010788eafe0038ad8d7841e6b3b (diff)
Turn flush_pipeline() in a simple macro.
Diffstat (limited to 'sys/arch/mvme88k')
-rw-r--r--sys/arch/mvme88k/include/asm_macro.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/arch/mvme88k/include/asm_macro.h b/sys/arch/mvme88k/include/asm_macro.h
index c9eb25fc36c..45e4ab08b5a 100644
--- a/sys/arch/mvme88k/include/asm_macro.h
+++ b/sys/arch/mvme88k/include/asm_macro.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: asm_macro.h,v 1.20 2002/01/09 00:38:54 miod Exp $ */
+/* $OpenBSD: asm_macro.h,v 1.21 2003/08/01 07:45:43 miod Exp $ */
/*
* Mach Operating System
* Copyright (c) 1993-1991 Carnegie Mellon University
@@ -38,10 +38,8 @@
/*
* Flushes the data pipeline.
*/
-static __inline__ void flush_pipeline(void)
-{
- __asm__ __volatile__ (FLUSH_PIPELINE_STRING);
-}
+#define flush_pipeline() \
+ __asm__ __volatile__ (FLUSH_PIPELINE_STRING)
#define db_flush_pipeline flush_pipeline