diff options
author | Richard Weinberger <richard@nod.at> | 2015-04-03 12:56:16 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-04-12 14:58:24 -0400 |
commit | ede45dd302385007b7ee83148753654ab8453167 (patch) | |
tree | 1c73acbbe71e3944f4ece333ed8d861d3792663a /arch/blackfin/include/asm | |
parent | 9699a517e0029c4dc34159787a26a746dfab858b (diff) |
blackfin: Autogenerate offsets in struct thread_info
Maintaining offsets by hand is no fun.
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/blackfin/include/asm')
-rw-r--r-- | arch/blackfin/include/asm/thread_info.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/blackfin/include/asm/thread_info.h b/arch/blackfin/include/asm/thread_info.h index 57c3a8bd583d..962be3fb3ee1 100644 --- a/arch/blackfin/include/asm/thread_info.h +++ b/arch/blackfin/include/asm/thread_info.h | |||
@@ -76,15 +76,6 @@ static inline struct thread_info *current_thread_info(void) | |||
76 | #endif /* __ASSEMBLY__ */ | 76 | #endif /* __ASSEMBLY__ */ |
77 | 77 | ||
78 | /* | 78 | /* |
79 | * Offsets in thread_info structure, used in assembly code | ||
80 | */ | ||
81 | #define TI_TASK 0 | ||
82 | #define TI_EXECDOMAIN 4 | ||
83 | #define TI_FLAGS 8 | ||
84 | #define TI_CPU 12 | ||
85 | #define TI_PREEMPT 16 | ||
86 | |||
87 | /* | ||
88 | * thread information flag bit numbers | 79 | * thread information flag bit numbers |
89 | */ | 80 | */ |
90 | #define TIF_SYSCALL_TRACE 0 /* syscall trace active */ | 81 | #define TIF_SYSCALL_TRACE 0 /* syscall trace active */ |