From 49c8510611af16b5fbd313d7f0fdcb06a9315629 Mon Sep 17 00:00:00 2001 From: Jeff Hartmann Date: Thu, 13 Jan 2000 06:36:12 +0000 Subject: dma checkin, still need to figure out how to pass TT_FLAGS and do some testing --- linux/bufs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/bufs.c') 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; -- cgit v1.2.3