asm-offsets.c (1dbbb6077426f8ce63d6a59c5ac6613e1689cbde) asm-offsets.c (85218827cc4ca900867807f19345418164ffc108)
1/*
2 * This program is used to generate definitions needed by
3 * assembly language modules.
4 *
5 * We use the technique used in the OSF Mach kernel code:
6 * generate asm statements containing #defines,
7 * compile this file to assembler, and then extract the
8 * #defines from the assembly-language output.

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

62 DEFINE(MM, offsetof(struct task_struct, mm));
63#ifdef CONFIG_PPC64
64 DEFINE(AUDITCONTEXT, offsetof(struct task_struct, audit_context));
65#else
66 DEFINE(THREAD_INFO, offsetof(struct task_struct, stack));
67#endif /* CONFIG_PPC64 */
68
69 DEFINE(KSP, offsetof(struct thread_struct, ksp));
1/*
2 * This program is used to generate definitions needed by
3 * assembly language modules.
4 *
5 * We use the technique used in the OSF Mach kernel code:
6 * generate asm statements containing #defines,
7 * compile this file to assembler, and then extract the
8 * #defines from the assembly-language output.

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

62 DEFINE(MM, offsetof(struct task_struct, mm));
63#ifdef CONFIG_PPC64
64 DEFINE(AUDITCONTEXT, offsetof(struct task_struct, audit_context));
65#else
66 DEFINE(THREAD_INFO, offsetof(struct task_struct, stack));
67#endif /* CONFIG_PPC64 */
68
69 DEFINE(KSP, offsetof(struct thread_struct, ksp));
70 DEFINE(KSP_LIMIT, offsetof(struct thread_struct, ksp_limit));
70 DEFINE(PT_REGS, offsetof(struct thread_struct, regs));
71 DEFINE(THREAD_FPEXC_MODE, offsetof(struct thread_struct, fpexc_mode));
72 DEFINE(THREAD_FPR0, offsetof(struct thread_struct, fpr[0]));
73 DEFINE(THREAD_FPSCR, offsetof(struct thread_struct, fpscr));
74#ifdef CONFIG_ALTIVEC
75 DEFINE(THREAD_VR0, offsetof(struct thread_struct, vr[0]));
76 DEFINE(THREAD_VRSAVE, offsetof(struct thread_struct, vrsave));
77 DEFINE(THREAD_VSCR, offsetof(struct thread_struct, vscr));

--- 279 unchanged lines hidden ---
71 DEFINE(PT_REGS, offsetof(struct thread_struct, regs));
72 DEFINE(THREAD_FPEXC_MODE, offsetof(struct thread_struct, fpexc_mode));
73 DEFINE(THREAD_FPR0, offsetof(struct thread_struct, fpr[0]));
74 DEFINE(THREAD_FPSCR, offsetof(struct thread_struct, fpscr));
75#ifdef CONFIG_ALTIVEC
76 DEFINE(THREAD_VR0, offsetof(struct thread_struct, vr[0]));
77 DEFINE(THREAD_VRSAVE, offsetof(struct thread_struct, vrsave));
78 DEFINE(THREAD_VSCR, offsetof(struct thread_struct, vscr));

--- 279 unchanged lines hidden ---