Module Name: src Committed By: riastradh Date: Mon Feb 14 00:28:33 UTC 2022
Modified Files: src/sys/external/bsd/drm2/include/asm: io.h Log Message: drm: Delete mmiowb. This no longer exists in Linux. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/external/bsd/drm2/include/asm/io.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/external/bsd/drm2/include/asm/io.h diff -u src/sys/external/bsd/drm2/include/asm/io.h:1.8 src/sys/external/bsd/drm2/include/asm/io.h:1.9 --- src/sys/external/bsd/drm2/include/asm/io.h:1.8 Sun Dec 19 10:59:55 2021 +++ src/sys/external/bsd/drm2/include/asm/io.h Mon Feb 14 00:28:33 2022 @@ -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))