删除xpm管控32bit用户态支持

Signed-off-by: limerence <shituanhui@huawei.com>
This commit is contained in:
limerence
2023-11-27 20:49:55 +08:00
parent 379443ee52
commit 7fa38394a0
+9 -1
View File
@@ -110,6 +110,14 @@ static long xpm_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
return ret;
}
#ifdef CONFIG_COMPAT
static long xpm_compat_ioctl(struct file *file, unsigned int cmd,
unsigned long arg)
{
return 0;
}
#endif
static int xpm_open(struct inode *inode, struct file *file)
{
return 0;
@@ -126,7 +134,7 @@ static const struct file_operations xpm_fops = {
.release = xpm_release,
.unlocked_ioctl = xpm_ioctl,
#ifdef CONFIG_COMPAT
.compat_ioctl = xpm_ioctl,
.compat_ioctl = xpm_compat_ioctl,
#endif
};