asm-offsets.c (dfbdcda280eb762bae2184145cc0702932d41798) | asm-offsets.c (18ed1c01a7dd3d7c780b06a49124da237a4c1790) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Copyright (C) 1995-2003 Russell King 4 * 2001-2002 Keith Owens 5 * 6 * Generate definitions needed by assembly language modules. 7 * This code generates raw asm output which is post-processed to extract 8 * and format the required data. --- 29 unchanged lines hidden (view full) --- 38{ 39 DEFINE(TSK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); 40#ifdef CONFIG_STACKPROTECTOR 41 DEFINE(TSK_STACK_CANARY, offsetof(struct task_struct, stack_canary)); 42#endif 43 BLANK(); 44 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); 45 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Copyright (C) 1995-2003 Russell King 4 * 2001-2002 Keith Owens 5 * 6 * Generate definitions needed by assembly language modules. 7 * This code generates raw asm output which is post-processed to extract 8 * and format the required data. --- 29 unchanged lines hidden (view full) --- 38{ 39 DEFINE(TSK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); 40#ifdef CONFIG_STACKPROTECTOR 41 DEFINE(TSK_STACK_CANARY, offsetof(struct task_struct, stack_canary)); 42#endif 43 BLANK(); 44 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); 45 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); |
46#ifndef CONFIG_THREAD_INFO_IN_TASK |
|
46 DEFINE(TI_TASK, offsetof(struct thread_info, task)); | 47 DEFINE(TI_TASK, offsetof(struct thread_info, task)); |
48#endif |
|
47 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); 48 DEFINE(TI_CPU_DOMAIN, offsetof(struct thread_info, cpu_domain)); 49 DEFINE(TI_CPU_SAVE, offsetof(struct thread_info, cpu_context)); 50 DEFINE(TI_ABI_SYSCALL, offsetof(struct thread_info, abi_syscall)); 51 DEFINE(TI_USED_CP, offsetof(struct thread_info, used_cp)); 52 DEFINE(TI_TP_VALUE, offsetof(struct thread_info, tp_value)); 53 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate)); 54#ifdef CONFIG_VFP --- 120 unchanged lines hidden --- | 49 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); 50 DEFINE(TI_CPU_DOMAIN, offsetof(struct thread_info, cpu_domain)); 51 DEFINE(TI_CPU_SAVE, offsetof(struct thread_info, cpu_context)); 52 DEFINE(TI_ABI_SYSCALL, offsetof(struct thread_info, abi_syscall)); 53 DEFINE(TI_USED_CP, offsetof(struct thread_info, used_cp)); 54 DEFINE(TI_TP_VALUE, offsetof(struct thread_info, tp_value)); 55 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate)); 56#ifdef CONFIG_VFP --- 120 unchanged lines hidden --- |