mirror of
https://github.com/Dichgrem/GKI-build.git
synced 2025-12-16 13:42:00 -05:00
9 lines
302 B
Diff
9 lines
302 B
Diff
--- a/drivers/kernelsu/kernel_compat.c
|
|
+++ b/drivers/kernelsu/kernel_compat.c
|
|
@@ -83,6 +83,7 @@
|
|
|
|
+ #undef ksu_access_ok
|
|
int ksu_access_ok(const void *addr, unsigned long size) {
|
|
#if LINUX_VERSION_CODE < KERNEL_VERSION(5,0,0)
|
|
/* For kernels before 5.0.0, pass the type argument to access_ok. */
|