From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: Re: [PATCH] ARCH_HAS_DEV_MEM_MMAP_MEM fix Date: Fri, 01 Dec 2006 06:15:01 -0700 Message-ID: <1164978901.5943.1.camel@lappy> References: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On Fri, 2006-12-01 at 09:56 +0000, Keir Fraser wrote: > > > On 30/11/06 22:36, "Alex Williamson" wrote: > > > We can't really define our own mmap_mem external from > > driver/xen/char/mem.c as long as drivers/char/mem.c is defining a static > > version. Patch below solves the problem. Thanks, > > mmap_mem() in drivers/char/mem.c is still used by mmap_kmem(). We'll get a > compile warning if the local static definition of mmap_mem() is removed > (plus I think the native mmap_mem is the right one to use for mmap_kmem, at > least on x86). Perhaps we should rename the Xen mmap_mem to xen_mmap_mem? Hi Keir, That's probably a better solution. Thanks, Alex -- Alex Williamson HP Open Source & Linux Org.