asm-offsets.c (2ac5e38ea4203852d6e99edd3cf11f044b0a409f) asm-offsets.c (ad3bc25a320742f42b3015115384f5aec69c7ce2)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Generate definitions needed by assembly language modules.
4 * This code generates raw asm output which is post-processed to extract
5 * and format the required data.
6 */
7#define COMPILE_OFFSETS
8

--- 15 unchanged lines hidden (view full) ---

24#endif
25
26#ifdef CONFIG_X86_32
27# include "asm-offsets_32.c"
28#else
29# include "asm-offsets_64.c"
30#endif
31
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Generate definitions needed by assembly language modules.
4 * This code generates raw asm output which is post-processed to extract
5 * and format the required data.
6 */
7#define COMPILE_OFFSETS
8

--- 15 unchanged lines hidden (view full) ---

24#endif
25
26#ifdef CONFIG_X86_32
27# include "asm-offsets_32.c"
28#else
29# include "asm-offsets_64.c"
30#endif
31
32void common(void) {
32static void __used common(void)
33{
33 BLANK();
34 OFFSET(TASK_threadsp, task_struct, thread.sp);
35#ifdef CONFIG_STACKPROTECTOR
36 OFFSET(TASK_stack_canary, task_struct, stack_canary);
37#endif
38
39 BLANK();
40 OFFSET(TASK_TI_flags, task_struct, thread_info.flags);

--- 67 unchanged lines hidden ---
34 BLANK();
35 OFFSET(TASK_threadsp, task_struct, thread.sp);
36#ifdef CONFIG_STACKPROTECTOR
37 OFFSET(TASK_stack_canary, task_struct, stack_canary);
38#endif
39
40 BLANK();
41 OFFSET(TASK_TI_flags, task_struct, thread_info.flags);

--- 67 unchanged lines hidden ---