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, 5 insertions, 1 deletions
diff --git a/sys/dev/agp/agp.c b/sys/dev/agp/agp.c
index e1d6583..0916e70 100644
--- a/sys/dev/agp/agp.c
+++ b/sys/dev/agp/agp.c
@@ -90,9 +90,13 @@ static devclass_t agp_devclass;
/* Helper functions for implementing chipset mini drivers. */
+void
+agp_flush_cache()
+{
#ifdef __i386__
-#define agp_flush_cache() wbinvd()
+ wbinvd();
#endif
+}
u_int8_t
agp_find_caps(device_t dev)
OpenPOWER on IntegriCloud