Răsfoiți Sursa

drivers/virt: add ioctl for 32-bit compat on 64-bit to fsl-hv-manager

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>
Mihai Caraman 13 ani în urmă
părinte
comite
c031ab15ff
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      drivers/virt/fsl_hypervisor.c

+ 1 - 0
drivers/virt/fsl_hypervisor.c

@@ -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 = {