diff options
author | Bastian Blank <waldi@debian.org> | 2011-12-10 13:29:49 -0500 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-12-16 13:29:42 -0500 |
commit | a63f9857134b0b6565bf86a06a94df876bdd18d3 (patch) | |
tree | 1f93d9c8b0a7b0457cbe133b348605b352ae2757 /drivers/xen | |
parent | e9f0fec3f5d406c500861da779d16a779a110055 (diff) |
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 <waldi@debian.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen')
-rw-r--r-- | 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 4e8d3da89ad5..ccee0f16bcf8 100644 --- a/drivers/xen/privcmd.c +++ b/drivers/xen/privcmd.c | |||
@@ -365,7 +365,6 @@ static long privcmd_ioctl(struct file *file, | |||
365 | return ret; | 365 | return ret; |
366 | } | 366 | } |
367 | 367 | ||
368 | #ifndef HAVE_ARCH_PRIVCMD_MMAP | ||
369 | static int privcmd_fault(struct vm_area_struct *vma, struct vm_fault *vmf) | 368 | static int privcmd_fault(struct vm_area_struct *vma, struct vm_fault *vmf) |
370 | { | 369 | { |
371 | printk(KERN_DEBUG "privcmd_fault: vma=%p %lx-%lx, pgoff=%lx, uv=%p\n", | 370 | 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) | |||
398 | { | 397 | { |
399 | return (xchg(&vma->vm_private_data, (void *)1) == NULL); | 398 | return (xchg(&vma->vm_private_data, (void *)1) == NULL); |
400 | } | 399 | } |
401 | #endif | ||
402 | 400 | ||
403 | const struct file_operations xen_privcmd_fops = { | 401 | const struct file_operations xen_privcmd_fops = { |
404 | .owner = THIS_MODULE, | 402 | .owner = THIS_MODULE, |