[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


  • To: Alex Williamson <alex.williamson@xxxxxx>
  • From: Keir Fraser <keir@xxxxxxxxxxxxx>
  • Date: Fri, 01 Dec 2006 09:56:41 +0000
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 01 Dec 2006 01:56:52 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AccVLv/wPol84IEiEduAwAAX8io7RQ==
  • Thread-topic: [PATCH] ARCH_HAS_DEV_MEM_MMAP_MEM fix

On 30/11/06 22:36, "Alex Williamson" <alex.williamson@xxxxxx> 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?

 -- Keir

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.