Add the KSU_COMPAT_GET_CRED_RCU flag to the Makefile to support the compatibility feature
This commit is contained in:
@@ -141,6 +141,7 @@ ccflags-y += -DSAMSUNG_UH_DRIVER_EXIST
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ccflags-y += -DKSU_UMOUNT
|
ccflags-y += -DKSU_UMOUNT
|
||||||
|
ccflags-y += -DKSU_COMPAT_GET_CRED_RCU
|
||||||
|
|
||||||
# Add the get_cred_rcu function to cred.h if not already present
|
# Add the get_cred_rcu function to cred.h if not already present
|
||||||
ifneq ($(shell grep -Eq "^static inline const struct cred \*get_cred_rcu" $(srctree)/include/linux/cred.h; echo $$?),0)
|
ifneq ($(shell grep -Eq "^static inline const struct cred \*get_cred_rcu" $(srctree)/include/linux/cred.h; echo $$?),0)
|
||||||
|
|||||||
Reference in New Issue
Block a user