diff options
| author | riastradh <riastradh@NetBSD.org> | 2022-02-14 00:28:33 +0000 |
|---|---|---|
| committer | riastradh <riastradh@NetBSD.org> | 2022-02-14 00:28:33 +0000 |
| commit | 255ed4ca84b2f53bb91fe5b5ec54bb3aa62667df (patch) | |
| tree | d3ba555e5176b8de70d22ffd2e46fa8da776d915 /sys/external | |
| parent | 6edfc2dd82e39d444b2f4370c3bfd99d97c98bf6 (diff) | |
drm: Delete mmiowb.
This no longer exists in Linux.
Diffstat (limited to 'sys/external')
| -rw-r--r-- | sys/external/bsd/drm2/include/asm/io.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/external/bsd/drm2/include/asm/io.h b/sys/external/bsd/drm2/include/asm/io.h index ec278204e9c..701f8b9b40e 100644 --- a/sys/external/bsd/drm2/include/asm/io.h +++ b/sys/external/bsd/drm2/include/asm/io.h @@ -1,4 +1,4 @@ -/* $NetBSD: io.h,v 1.8 2021/12/19 10:59:55 riastradh Exp $ */ +/* $NetBSD: io.h,v 1.9 2022/02/14 00:28:33 riastradh Exp $ */ /*- * Copyright (c) 2013 The NetBSD Foundation, Inc. @@ -37,13 +37,6 @@ #include <linux/string.h> -/* - * XXX This is bollocks, and is wrong on various architectures (should - * work for x86; who knows what else), but bus_space_barrier won't work - * because we have no bus space tag or handle or offset or anything. - */ -#define mmiowb() membar_sync() - #define memcpy_fromio(d,s,n) memcpy((d),__UNVOLATILE(s),(n)) #define memcpy_toio(d,s,n) memcpy(__UNVOLATILE(d),(s),(n)) |
