Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/include/asm Add bogus x86-spe...
details: https://anonhg.NetBSD.org/src/rev/bc05c90ba13b
branches: riastradh-drm2
changeset: 788407:bc05c90ba13b
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 03:39:52 2013 +0000
description:
Add bogus x86-specific mmiowb to Linux <asm/io.h>.
diffstat:
sys/external/bsd/drm2/include/asm/io.h | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r cec5128176fa -r bc05c90ba13b sys/external/bsd/drm2/include/asm/io.h
--- a/sys/external/bsd/drm2/include/asm/io.h Wed Jul 24 03:39:38 2013 +0000
+++ b/sys/external/bsd/drm2/include/asm/io.h Wed Jul 24 03:39:52 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: io.h,v 1.1.2.1 2013/07/24 00:33:11 riastradh Exp $ */
+/* $NetBSD: io.h,v 1.1.2.2 2013/07/24 03:39:52 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -32,4 +32,11 @@
#ifndef _ASM_IO_H_
#define _ASM_IO_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() __insn_barrier()
+
#endif /* _ASM_IO_H_ */
Home |
Main Index |
Thread Index |
Old Index