From: Bastian Blank Date: Sat, 10 Dec 2011 18:29:49 +0000 (+0100) Subject: xen/privcmd: Remove unused support for arch specific privcmp mmap X-Git-Tag: firefly_0821_release~3680^2~3781^2~16 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a63f9857134b0b6565bf86a06a94df876bdd18d3;p=firefly-linux-kernel-4.4.55.git xen/privcmd: Remove unused support for arch specific privcmp mmap This was used for ia64. But there is no working ia64 support in sight, so remove it for now. Signed-off-by: Bastian Blank Acked-by: Ian Campbell Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/drivers/xen/privcmd.c b/drivers/xen/privcmd.c index 4e8d3da89ad5..ccee0f16bcf8 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,