kernel: restart enable sulog for LKM
This commit is contained in:
@@ -35,11 +35,6 @@ obj-$(CONFIG_KSU) += kernelsu.o
|
||||
|
||||
obj-$(CONFIG_KPM) += kpm/
|
||||
|
||||
ifeq ($(CONFIG_KSU),m)
|
||||
ccflags-y += -DKSU_MODULE
|
||||
endif
|
||||
|
||||
|
||||
REPO_OWNER := SukiSU-Ultra
|
||||
REPO_NAME := SukiSU-Ultra
|
||||
REPO_BRANCH := main
|
||||
|
||||
@@ -5,11 +5,7 @@
|
||||
#include <linux/version.h>
|
||||
#include <linux/crc32.h> // needed for function dedup_calc_hash
|
||||
|
||||
#ifdef KSU_MODULE
|
||||
#define __SULOG_GATE 0
|
||||
#else
|
||||
#define __SULOG_GATE 1
|
||||
#endif
|
||||
|
||||
#if __SULOG_GATE
|
||||
extern struct timezone sys_tz;
|
||||
|
||||
Reference in New Issue
Block a user