xen/privcmd: Remove unused support for arch specific privcmp mmap
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / xen / privcmd.c
index 4e8d3da89ad558c9277e9e4e500bac799278c37d..ccee0f16bcf8c10e994855a6efadff99b5b6bda1 100644 (file)
@@ -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,