Re: [patch 4/4] Xen core patch : /dev/mem calls io_remap_page_range

From: Andrew Morton
Date: Wed Nov 17 2004 - 22:07:18 EST


Ian Pratt <Ian.Pratt@xxxxxxxxxxxx> wrote:
>
>
> This patch modifies /dev/mem to call io_remap_page_range rather than
> remap_page_range under CONFIG_XEN.

And this patch has tabs replaced with whitespace and also does not apply.

> diff -Nurp pristine-linux-2.6.9/drivers/char/mem.c linux-2.6.9-xen0/drivers/char/mem.c

linux-2.6.9 is very very old in kernel time.

> if (remap_page_range(vma, vma->vm_start, offset, vma->vm_end-vma->vm_start,

There is no mention of `remap_page_range' in current kernels.


Please, always generate patches against current kernels. You can use
Linus's bk tree or the latest snapshot from
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/snapshots.

Sort out what's going on with your email client, email the patches to
yourself first, make sure they still apply, then resend.

Thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/