asm-offsets.c (e33ffc956b086675551b86f5f83cf50ca47aa71c) | asm-offsets.c (028474876f472c3b6eee633aed528a1206609657) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * This program is used to generate definitions needed by 4 * assembly language modules. 5 * 6 * We use the technique used in the OSF Mach kernel code: 7 * generate asm statements containing #defines, 8 * compile this file to assembler, and then extract the --- 113 unchanged lines hidden (view full) --- 122#endif /* CONFIG_ALTIVEC */ 123#ifdef CONFIG_VSX 124 OFFSET(THREAD_USED_VSR, thread_struct, used_vsr); 125#endif /* CONFIG_VSX */ 126#ifdef CONFIG_PPC64 127 OFFSET(KSP_VSID, thread_struct, ksp_vsid); 128#else /* CONFIG_PPC64 */ 129 OFFSET(PGDIR, thread_struct, pgdir); | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * This program is used to generate definitions needed by 4 * assembly language modules. 5 * 6 * We use the technique used in the OSF Mach kernel code: 7 * generate asm statements containing #defines, 8 * compile this file to assembler, and then extract the --- 113 unchanged lines hidden (view full) --- 122#endif /* CONFIG_ALTIVEC */ 123#ifdef CONFIG_VSX 124 OFFSET(THREAD_USED_VSR, thread_struct, used_vsr); 125#endif /* CONFIG_VSX */ 126#ifdef CONFIG_PPC64 127 OFFSET(KSP_VSID, thread_struct, ksp_vsid); 128#else /* CONFIG_PPC64 */ 129 OFFSET(PGDIR, thread_struct, pgdir); |
130#ifdef CONFIG_VMAP_STACK 131 OFFSET(SRR0, thread_struct, srr0); 132 OFFSET(SRR1, thread_struct, srr1); 133 OFFSET(DAR, thread_struct, dar); 134 OFFSET(DSISR, thread_struct, dsisr); 135#endif |
|
130#ifdef CONFIG_SPE 131 OFFSET(THREAD_EVR0, thread_struct, evr[0]); 132 OFFSET(THREAD_ACC, thread_struct, acc); 133 OFFSET(THREAD_SPEFSCR, thread_struct, spefscr); 134 OFFSET(THREAD_USED_SPE, thread_struct, used_spe); 135#endif /* CONFIG_SPE */ 136#endif /* CONFIG_PPC64 */ 137#if defined(CONFIG_4xx) || defined(CONFIG_BOOKE) --- 644 unchanged lines hidden --- | 136#ifdef CONFIG_SPE 137 OFFSET(THREAD_EVR0, thread_struct, evr[0]); 138 OFFSET(THREAD_ACC, thread_struct, acc); 139 OFFSET(THREAD_SPEFSCR, thread_struct, spefscr); 140 OFFSET(THREAD_USED_SPE, thread_struct, used_spe); 141#endif /* CONFIG_SPE */ 142#endif /* CONFIG_PPC64 */ 143#if defined(CONFIG_4xx) || defined(CONFIG_BOOKE) --- 644 unchanged lines hidden --- |