diff options
author | Eric Anholt <anholt@freebsd.org> | 2002-06-27 17:58:41 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2002-06-27 17:58:41 +0000 |
commit | 72cdaedececadb7a885e191102cfd66d71f52fef (patch) | |
tree | d90c6e978fc26e0434e4c00d2caf255d639c16ad /linux-core | |
parent | 615b170db9106ea787e9a023d1e9620782a84529 (diff) |
Commit most of Erik Reid's NetBSD diffs, along with a few cleanups.
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/drm_os_linux.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_os_linux.h b/linux-core/drm_os_linux.h index 6e6ee6e8..7ba5029b 100644 --- a/linux-core/drm_os_linux.h +++ b/linux-core/drm_os_linux.h @@ -13,8 +13,8 @@ #define DRM_OS_READ32(addr) readl(addr) #define DRM_OS_WRITE8(addr, val) writeb(val, addr) #define DRM_OS_WRITE32(addr, val) writel(val, addr) -#define DRM_OS_READMEMORYBARRIER mb() -#define DRM_OS_WRITEMEMORYBARRIER wmb() +#define DRM_OS_READMEMORYBARRIER() mb() +#define DRM_OS_WRITEMEMORYBARRIER() wmb() #define DRM_OS_DEVICE drm_file_t *priv = filp->private_data; \ drm_device_t *dev = priv->dev |