From 6778948f9de86c3cfaf36725a7c87dcff9ba247f Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 11 Dec 2023 08:20:59 +0000 Subject: [PATCH] kernel_5.10 no rt --- kernel/drivers/gpu/arm/mali400/mali/linux/mali_kernel_linux.c | 17 ----------------- 1 files changed, 0 insertions(+), 17 deletions(-) diff --git a/kernel/drivers/gpu/arm/mali400/mali/linux/mali_kernel_linux.c b/kernel/drivers/gpu/arm/mali400/mali/linux/mali_kernel_linux.c index 6e003c2..534db25 100755 --- a/kernel/drivers/gpu/arm/mali400/mali/linux/mali_kernel_linux.c +++ b/kernel/drivers/gpu/arm/mali400/mali/linux/mali_kernel_linux.c @@ -178,11 +178,7 @@ static int mali_open(struct inode *inode, struct file *filp); static int mali_release(struct inode *inode, struct file *filp); -#ifdef HAVE_UNLOCKED_IOCTL static long mali_ioctl(struct file *filp, unsigned int cmd, unsigned long arg); -#else -static int mali_ioctl(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg); -#endif static int mali_probe(struct platform_device *pdev); static int mali_remove(struct platform_device *pdev); @@ -276,11 +272,7 @@ .owner = THIS_MODULE, .open = mali_open, .release = mali_release, -#ifdef HAVE_UNLOCKED_IOCTL .unlocked_ioctl = mali_ioctl, -#else - .ioctl = mali_ioctl, -#endif .compat_ioctl = mali_ioctl, .mmap = mali_mmap }; @@ -940,19 +932,10 @@ } } -#ifdef HAVE_UNLOCKED_IOCTL static long mali_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) -#else -static int mali_ioctl(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg) -#endif { int err; struct mali_session_data *session_data; - -#ifndef HAVE_UNLOCKED_IOCTL - /* inode not used */ - (void)inode; -#endif MALI_DEBUG_PRINT(7, ("Ioctl received 0x%08X 0x%08lX\n", cmd, arg)); -- Gitblit v1.6.2