Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 10 Nov 2002 09:03:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 10 Nov 2002 09:03:35 -0500 Received: from maile.telia.com ([194.22.190.16]:16351 "EHLO maile.telia.com") by vger.kernel.org with ESMTP id ; Sun, 10 Nov 2002 09:03:34 -0500 X-Original-Recipient: linux-kernel@vger.kernel.org To: Marcelo Tosatti , hch@lst.de Cc: lkml Subject: Re: Linux 2.4.20-pre5 References: From: Peter Osterlund Date: 10 Nov 2002 15:10:12 +0100 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1150 Lines: 28 Marcelo Tosatti writes: > : > o update drm to XFree 4.2 version This patch removes two lines from drm_vm.h that are not removed in the XFree 4.2 tree. It looks like a merge error to me. Here is a patch for 2.4.20-rc1 to restore the missing lines. --- linux/drivers/char/drm/drm_vm.h~ Tue Oct 29 19:01:06 2002 +++ linux/drivers/char/drm/drm_vm.h Sun Nov 10 15:06:45 2002 @@ -471,10 +471,12 @@ vma->vm_private_data = (void *)map; /* Don't let this area swap. Change when DRM_KERNEL advisory is supported. */ + vma->vm_flags |= VM_RESERVED; break; case _DRM_SCATTER_GATHER: vma->vm_ops = &DRM(vm_sg_ops); vma->vm_private_data = (void *)map; + vma->vm_flags |= VM_RESERVED; break; default: return -EINVAL; /* This should never happen. */ -- Peter Osterlund - petero2@telia.com http://w1.894.telia.com/~u89404340 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/