diff options
author | Jeff Hartmann <jhartmann@valinux.com> | 2000-01-13 06:36:12 +0000 |
---|---|---|
committer | Jeff Hartmann <jhartmann@valinux.com> | 2000-01-13 06:36:12 +0000 |
commit | 49c8510611af16b5fbd313d7f0fdcb06a9315629 (patch) | |
tree | 7120e2afa49d66cf2c63eba51992b7e8125b007b /linux/bufs.c | |
parent | 94fcb29e3b96cb750b674463a3c1d224086024b1 (diff) |
dma checkin, still need to figure out how to pass TT_FLAGS and do some
testing
Diffstat (limited to 'linux/bufs.c')
-rw-r--r-- | linux/bufs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/bufs.c b/linux/bufs.c index 975c8890..c016734c 100644 --- a/linux/bufs.c +++ b/linux/bufs.c @@ -176,7 +176,7 @@ int drm_addbufs(struct inode *inode, struct file *filp, unsigned int cmd, if (order < DRM_MIN_ORDER || order > DRM_MAX_ORDER) return -EINVAL; if (dev->queue_count) return -EBUSY; /* Not while in use */ - alignment = (request.flags & DRM_PAGE_ALIGN) ? PAGE_ALIGN(size) :size; + alignment = (request.flags & _DRM_PAGE_ALIGN) ? PAGE_ALIGN(size):size; page_order = order - PAGE_SHIFT > 0 ? order - PAGE_SHIFT : 0; total = PAGE_SIZE << page_order; |