summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/drmP.h
diff options
context:
space:
mode:
authorrnoland <rnoland@FreeBSD.org>2010-04-23 14:48:30 +0000
committerrnoland <rnoland@FreeBSD.org>2010-04-23 14:48:30 +0000
commitd39bb9373198a81da7c1f1578c004f23a2f649f7 (patch)
treec5dccc5ad651031c246e7163835b2b7f002a9075 /sys/dev/drm/drmP.h
parent8b9f8a673542755de61861a6fcfcc7f5215e3526 (diff)
downloadFreeBSD-src-d39bb9373198a81da7c1f1578c004f23a2f649f7.zip
FreeBSD-src-d39bb9373198a81da7c1f1578c004f23a2f649f7.tar.gz
Address some WITNESS panics that occur when using the via driver.
Some of these cases should be safe in a non-atomic fashion, however since all of the driver ioctls are locked, a lot of work is required to fix it correctly. Just don't sleep now. MFC after: 2 weeks
Diffstat (limited to 'sys/dev/drm/drmP.h')
-rw-r--r--sys/dev/drm/drmP.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm/drmP.h b/sys/dev/drm/drmP.h
index 26bda43..3699460 100644
--- a/sys/dev/drm/drmP.h
+++ b/sys/dev/drm/drmP.h
@@ -228,7 +228,7 @@ enum {
#define DRM_MTRR_WC MDF_WRITECOMBINE
#define jiffies ticks
-typedef unsigned long dma_addr_t;
+typedef vm_paddr_t dma_addr_t;
typedef u_int64_t u64;
typedef u_int32_t u32;
typedef u_int16_t u16;
OpenPOWER on IntegriCloud