Skip to content

Commit

Permalink
xen/privcmd: Remove unused support for arch specific privcmp mmap
Browse files Browse the repository at this point in the history
This was used for ia64. But there is no working ia64 support in sight,
so remove it for now.

Signed-off-by: Bastian Blank <waldi@debian.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
  • Loading branch information
Bastian Blank authored and Konrad Rzeszutek Wilk committed Dec 16, 2011
1 parent e9f0fec commit a63f985
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/xen/privcmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit a63f985

Please sign in to comment.