kernel: Resolve compilation issues

This commit is contained in:
ShirkNeko
2025-11-06 13:48:26 +08:00
parent e6436b340c
commit 132e9ef8ed
7 changed files with 22 additions and 26 deletions

View File

@@ -6,12 +6,6 @@
#include "ss/policydb.h"
#include "linux/key.h"
#if defined(CONFIG_KPROBES) && !defined(KSU_MANUAL_HOOK)
#define KSU_KPROBES_HOOK 1
#else
#define KSU_KPROBES_HOOK 0
#endif
/*
* Adapt to Huawei HISI kernel without affecting other kernels ,
* Huawei Hisi Kernel EBITMAP Enable or Disable Flag ,