diff options
author | 2003-08-01 07:45:43 +0000 | |
---|---|---|
committer | 2003-08-01 07:45:43 +0000 | |
commit | 541781b04e77867b941ea220b052fc59509810ce (patch) | |
tree | 84c188f689d69406fde14de165f435723a080624 | |
parent | Define a more reasonable label_t size. (diff) | |
download | wireguard-openbsd-541781b04e77867b941ea220b052fc59509810ce.tar.xz wireguard-openbsd-541781b04e77867b941ea220b052fc59509810ce.zip |
Turn flush_pipeline() in a simple macro.
-rw-r--r-- | sys/arch/mvme88k/include/asm_macro.h | 8 |
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 |