aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJinjie Ruan <ruanjinjie@huawei.com>2024-11-09 09:46:05 +0800
committerAlexandre Ghiti <alexghiti@rivosinc.com>2025-03-18 12:46:15 +0000
commita4a58f510bd8c28f6191eed5698a5291b420c2d6 (patch)
tree6dfdaabdd54f00ab60f05b0ad8b9e572845742ee
parentRISC-V: selftests: Add TEST_ZICBOM into CBO tests (diff)
downloadwireguard-linux-a4a58f510bd8c28f6191eed5698a5291b420c2d6.tar.xz
wireguard-linux-a4a58f510bd8c28f6191eed5698a5291b420c2d6.zip
riscv: Remove unused TASK_TI_FLAGS
Since commit f0bddf50586d ("riscv: entry: Convert to generic entry"), TASK_TI_FLAGS is not used any more, so remove it. Fixes: f0bddf50586d ("riscv: entry: Convert to generic entry") Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com> Reviewed-by: Charlie Jenkins <charlie@rivosinc.com> Link: https://lore.kernel.org/r/20241109014605.2801492-1-ruanjinjie@huawei.com Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
-rw-r--r--arch/riscv/kernel/asm-offsets.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/riscv/kernel/asm-offsets.c b/arch/riscv/kernel/asm-offsets.c
index e89455a6a0e5..16490755304e 100644
--- a/arch/riscv/kernel/asm-offsets.c
+++ b/arch/riscv/kernel/asm-offsets.c
@@ -36,7 +36,6 @@ void asm_offsets(void)
OFFSET(TASK_THREAD_S11, task_struct, thread.s[11]);
OFFSET(TASK_TI_CPU, task_struct, thread_info.cpu);
- OFFSET(TASK_TI_FLAGS, task_struct, thread_info.flags);
OFFSET(TASK_TI_PREEMPT_COUNT, task_struct, thread_info.preempt_count);
OFFSET(TASK_TI_KERNEL_SP, task_struct, thread_info.kernel_sp);
OFFSET(TASK_TI_USER_SP, task_struct, thread_info.user_sp);