From f3ae6786f89a4f63dbba93c5519d3792a1744dd7 Mon Sep 17 00:00:00 2001 From: Rik Faith Date: Fri, 4 Aug 2000 10:04:55 +0000 Subject: Sync with Linux 2.4.0-test6-pre2 --- 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 fd3b1248..c00f051a 100644 --- a/linux/bufs.c +++ b/linux/bufs.c @@ -106,7 +106,7 @@ int drm_addmap(struct inode *inode, struct file *filp, unsigned int cmd, dev->lock.hw_lock = map->handle; /* Pointer to lock */ } break; -#ifdef DRM_AGP +#if defined(CONFIG_AGP) || defined(CONFIG_AGP_MODULE) case _DRM_AGP: map->offset = map->offset + dev->agp->base; break; -- cgit v1.2.3