Add samsung specific changes

This commit is contained in:
2025-08-11 14:29:00 +02:00
parent c66122e619
commit 4d134a1294
2688 changed files with 1127995 additions and 11475 deletions

View File

@@ -19,7 +19,6 @@
#include <linux/sched/rt.h>
#include <linux/livepatch.h>
#include <linux/mm_types.h>
#include <linux/task_integrity.h>
#include <asm/thread_info.h>
@@ -36,22 +35,6 @@ extern struct cred init_cred;
#define INIT_PREV_CPUTIME(x)
#endif
#ifdef CONFIG_FIVE
# define INIT_TASK_INTEGRITY(integrity) { \
.user_value = INTEGRITY_NONE, \
.value = INTEGRITY_NONE, \
.usage_count = ATOMIC_INIT(1), \
.value_lock = __SPIN_LOCK_UNLOCKED(integrity.value_lock), \
.list_lock = __SPIN_LOCK_UNLOCKED(integrity.list_lock), \
.events = { .list = LIST_HEAD_INIT(integrity.events.list),}, \
}
# define INIT_INTEGRITY(tsk) \
.android_oem_data1[2] = (u64)&init_integrity,
#else
# define INIT_INTEGRITY(tsk)
# define INIT_TASK_INTEGRITY(integrity)
#endif
#define INIT_TASK_COMM "swapper"
/* Attach to the init_task data structure for proper alignment */