kernel/arch/x86/kernel/asm-offsets.c
.. .. @@ -38,6 +38,7 @@ 38 38 39 39 BLANK(); 40 40 OFFSET(TASK_TI_flags, task_struct, thread_info.flags); 41 + OFFSET(TASK_TI_preempt_lazy_count, task_struct, thread_info.preempt_lazy_count);41 42 OFFSET(TASK_addr_limit, task_struct, thread.addr_limit); 42 43 43 44 BLANK(); .. .. @@ -94,6 +95,7 @@ 94 95 95 96 BLANK(); 96 97 DEFINE(PTREGS_SIZE, sizeof(struct pt_regs)); 98 + DEFINE(_PREEMPT_ENABLED, PREEMPT_ENABLED);97 99 98 100 /* TLB state for the entry code */ 99 101 OFFSET(TLB_STATE_user_pcid_flush_mask, tlb_state, user_pcid_flush_mask);