drivers/virt: add ioctl for 32-bit compat on 64-bit to fsl-hv-manager
authorMihai Caraman <mihai.caraman@freescale.com>
Thu, 13 Oct 2011 15:05:21 +0000 (18:05 +0300)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 14 Oct 2011 07:56:02 +0000 (02:56 -0500)
Add ioctl to Freescale hypervisor management driver for 32-bit user-space
applications running on 64-bit guests.

Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
Acked-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
drivers/virt/fsl_hypervisor.c

index 3d9162151fd2ab34c734a3cd59142ced8413db4f..4939e0ccc4e5414fafb422c53a8e7ccdb742e136 100644 (file)
@@ -706,6 +706,7 @@ static const struct file_operations fsl_hv_fops = {
        .poll = fsl_hv_poll,
        .read = fsl_hv_read,
        .unlocked_ioctl = fsl_hv_ioctl,
+       .compat_ioctl = fsl_hv_ioctl,
 };
 
 static struct miscdevice fsl_hv_misc_dev = {