diff options
author | Guo Ren <guoren@linux.alibaba.com> | 2020-07-12 13:41:49 +0000 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-07-30 11:37:44 -0700 |
commit | 3e7b669c6c5375131db751e6e748af27bab318f6 (patch) | |
tree | ce170907d2de66e14ac94affa1b0e6e78d1d574b /include/linux/compiler_attributes.h | |
parent | ebc00dde8a975a543f5e1a7cdac93fef89fefe58 (diff) |
riscv: Cleanup unnecessary define in asm-offset.c
- TASK_THREAD_SP is duplicated define
- TASK_STACK is no use at all
- Don't worry about thread_info's offset in task_struct, have
a look on comment in include/linux/sched.h:
struct task_struct {
/*
* For reasons of header soup (see current_thread_info()), this
* must be the first element of task_struct.
*/
struct thread_info thread_info;
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'include/linux/compiler_attributes.h')
0 files changed, 0 insertions, 0 deletions