Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/include/asm drm: Delete mmiowb.



details:   https://anonhg.NetBSD.org/src/rev/4b6178e85124
branches:  trunk
changeset: 361560:4b6178e85124
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Feb 14 00:28:33 2022 +0000

description:
drm: Delete mmiowb.

This no longer exists in Linux.

diffstat:

 sys/external/bsd/drm2/include/asm/io.h |  9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diffs (23 lines):

diff -r 8408282b580a -r 4b6178e85124 sys/external/bsd/drm2/include/asm/io.h
--- a/sys/external/bsd/drm2/include/asm/io.h    Sun Feb 13 23:28:58 2022 +0000
+++ b/sys/external/bsd/drm2/include/asm/io.h    Mon Feb 14 00:28:33 2022 +0000
@@ -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))
 



Home | Main Index | Thread Index | Old Index