diff options
author | jake <jake@FreeBSD.org> | 2001-09-03 22:13:53 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2001-09-03 22:13:53 +0000 |
commit | 511df0c9cdc5d834f5c497a79294372ee54837c4 (patch) | |
tree | 226fa4c4eb4270cb8c45b38e5dac28c428a478af /sys | |
parent | 733bc35923375763c65e6877ea29ee3421339679 (diff) | |
download | FreeBSD-src-511df0c9cdc5d834f5c497a79294372ee54837c4.zip FreeBSD-src-511df0c9cdc5d834f5c497a79294372ee54837c4.tar.gz |
Add a flushw() macro.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sparc64/include/cpufunc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sparc64/include/cpufunc.h b/sys/sparc64/include/cpufunc.h index 5e1aecf..054b8df 100644 --- a/sys/sparc64/include/cpufunc.h +++ b/sys/sparc64/include/cpufunc.h @@ -76,6 +76,10 @@ __asm __volatile("flush %0" : : "r" (va)); \ } while (0) +#define flushw() do { \ + __asm __volatile("flushw" : :); \ +} while (0) + #define ldxa(va, asi) ({ \ u_long __r; \ __asm __volatile("ldxa [%1] %2, %0" \ |