From 766a1da2e5841959246abab9cf27c79d75636129 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Sat, 26 Apr 2003 23:32:00 +0000 Subject: Remove the map argument from DRM_*MEMORYBARRIER. Not all of the uses of DRM_*MEMORYBARRIER we had were related to an MMIO space. This means arch-specific code on the BSDs, unfortunately. Also add DRM_MEMORYBARRIER() and change the DRM_READMEMORYBARRIER()s that used to be read/write barriers to it. --- bsd/ati_pcigart.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bsd/ati_pcigart.h') diff --git a/bsd/ati_pcigart.h b/bsd/ati_pcigart.h index 0cc63a3a..b5fe35c8 100644 --- a/bsd/ati_pcigart.h +++ b/bsd/ati_pcigart.h @@ -86,6 +86,8 @@ int DRM(ati_pcigart_init)( drm_device_t *dev, } } + DRM_MEMORYBARRIER(); + ret = 1; done: -- cgit v1.2.3