summaryrefslogtreecommitdiffstats
path: root/sys/dev/agp/agp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/agp/agp.c')
-rw-r--r--sys/dev/agp/agp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/agp/agp.c b/sys/dev/agp/agp.c
index ddd29b9..293011c 100644
--- a/sys/dev/agp/agp.c
+++ b/sys/dev/agp/agp.c
@@ -96,6 +96,12 @@ agp_flush_cache()
#ifdef __i386__
wbinvd();
#endif
+#ifdef __alpha__
+ /* FIXME: This is most likely not correct as it doesn't flush CPU
+ * write caches, but we don't have a facility to do that and
+ * this is all linux does, too */
+ alpha_mb();
+#endif
}
u_int8_t
OpenPOWER on IntegriCloud