hc
2023-12-02 57e32c52610e6a560beda60bf33c48f9f42306d5
kernel/arch/x86/kernel/asm-offsets.c
....@@ -38,6 +38,7 @@
3838
3939 BLANK();
4040 OFFSET(TASK_TI_flags, task_struct, thread_info.flags);
41
+ OFFSET(TASK_TI_preempt_lazy_count, task_struct, thread_info.preempt_lazy_count);
4142 OFFSET(TASK_addr_limit, task_struct, thread.addr_limit);
4243
4344 BLANK();
....@@ -94,6 +95,7 @@
9495
9596 BLANK();
9697 DEFINE(PTREGS_SIZE, sizeof(struct pt_regs));
98
+ DEFINE(_PREEMPT_ENABLED, PREEMPT_ENABLED);
9799
98100 /* TLB state for the entry code */
99101 OFFSET(TLB_STATE_user_pcid_flush_mask, tlb_state, user_pcid_flush_mask);