From 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Thu, 16 May 2024 03:11:33 +0000 Subject: [PATCH] AX88772C_eeprom and ax8872c build together --- kernel/drivers/gpu/arm/mali400/ump/linux/ump_osk_low_level_mem.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/drivers/gpu/arm/mali400/ump/linux/ump_osk_low_level_mem.c b/kernel/drivers/gpu/arm/mali400/ump/linux/ump_osk_low_level_mem.c index 004bcfd..e08bf25 100755 --- a/kernel/drivers/gpu/arm/mali400/ump/linux/ump_osk_low_level_mem.c +++ b/kernel/drivers/gpu/arm/mali400/ump/linux/ump_osk_low_level_mem.c @@ -223,7 +223,7 @@ /* Flush L1 using virtual address, the entire range in one go. * Only flush if user space process has a valid write mapping on given address. */ - if ((mem) && (virt != NULL) && (access_ok(VERIFY_WRITE, virt, size))) { + if ((mem) && (virt != NULL) && (access_ok(virt, size))) { __cpuc_flush_dcache_area(virt, size); DBG_MSG(3, ("UMP[%02u] Flushing CPU L1 Cache. CPU address: %x, size: %x\n", mem->secure_id, virt, size)); } else { -- Gitblit v1.6.2