Re: [Xen-devel] [PATCH 4/4] xen/privcmd: Remove unused support forarch specific privcmp mmap
From: Ian Campbell
Date: Thu Dec 08 2011 - 03:32:13 EST
On Wed, 2011-12-07 at 21:13 +0000, Bastian Blank wrote:
> ---
You've forgotten the S-o-b for this patch.
Once upon a time this was used by the ia64 privcmd support[0] but since
no one appears to be working on ia64 dom0 support for upstream I'm not
sure if this is an issue or not. I lean towards "not", this can always
be put back as necessary.
Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
[0]
http://xenbits.xen.org/hg/linux-2.6.18-xen.hg/file/bffd07392da5/arch/ia64/xen/hypervisor.c#l659
http://xenbits.xen.org/hg/linux-2.6.18-xen.hg/file/bffd07392da5/include/asm-ia64/hypervisor.h#l132
> drivers/xen/privcmd.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/xen/privcmd.c b/drivers/xen/privcmd.c
> index 863fbd0..c13d26a 100644
> --- a/drivers/xen/privcmd.c
> +++ b/drivers/xen/privcmd.c
> @@ -365,7 +365,6 @@ static long privcmd_ioctl(struct file *file,
> return ret;
> }
>
> -#ifndef HAVE_ARCH_PRIVCMD_MMAP
> static int privcmd_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
> {
> printk(KERN_DEBUG "privcmd_fault: vma=%p %lx-%lx, pgoff=%lx, uv=%p\n",
> @@ -398,7 +397,6 @@ static int privcmd_enforce_singleshot_mapping(struct vm_area_struct *vma)
> {
> return (xchg(&vma->vm_private_data, (void *)1) == NULL);
> }
> -#endif
>
> const struct file_operations xen_privcmd_fops = {
> .owner = THIS_MODULE,
--
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/