public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] riscv: Remove unused TASK_TI_FLAGS
@ 2024-11-09  1:46 Jinjie Ruan
  2025-01-28  1:01 ` Charlie Jenkins
  2025-03-27  3:25 ` patchwork-bot+linux-riscv
  0 siblings, 2 replies; 3+ messages in thread
From: Jinjie Ruan @ 2024-11-09  1:46 UTC (permalink / raw)
  To: paul.walmsley, palmer, aou, alexghiti, puranjay, zhangchunyan,
	cuiyunhui, ruanjinjie, guoren, bjorn, linux-riscv, linux-kernel

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>
---
 arch/riscv/kernel/asm-offsets.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/riscv/kernel/asm-offsets.c b/arch/riscv/kernel/asm-offsets.c
index c2f3129a8e5c..d3ad87fcf1ef 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);
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] riscv: Remove unused TASK_TI_FLAGS
  2024-11-09  1:46 [PATCH] riscv: Remove unused TASK_TI_FLAGS Jinjie Ruan
@ 2025-01-28  1:01 ` Charlie Jenkins
  2025-03-27  3:25 ` patchwork-bot+linux-riscv
  1 sibling, 0 replies; 3+ messages in thread
From: Charlie Jenkins @ 2025-01-28  1:01 UTC (permalink / raw)
  To: Jinjie Ruan
  Cc: paul.walmsley, palmer, aou, alexghiti, puranjay, zhangchunyan,
	cuiyunhui, guoren, bjorn, linux-riscv, linux-kernel

On Sat, Nov 09, 2024 at 09:46:05AM +0800, Jinjie Ruan wrote:
> 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>

> ---
>  arch/riscv/kernel/asm-offsets.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/riscv/kernel/asm-offsets.c b/arch/riscv/kernel/asm-offsets.c
> index c2f3129a8e5c..d3ad87fcf1ef 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);
> -- 
> 2.34.1
> 
> 
> _______________________________________________
> linux-riscv mailing list
> linux-riscv@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] riscv: Remove unused TASK_TI_FLAGS
  2024-11-09  1:46 [PATCH] riscv: Remove unused TASK_TI_FLAGS Jinjie Ruan
  2025-01-28  1:01 ` Charlie Jenkins
@ 2025-03-27  3:25 ` patchwork-bot+linux-riscv
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+linux-riscv @ 2025-03-27  3:25 UTC (permalink / raw)
  To: Jinjie Ruan
  Cc: linux-riscv, paul.walmsley, palmer, aou, alexghiti, puranjay,
	zhangchunyan, cuiyunhui, guoren, bjorn, linux-kernel

Hello:

This patch was applied to riscv/linux.git (for-next)
by Alexandre Ghiti <alexghiti@rivosinc.com>:

On Sat, 9 Nov 2024 09:46:05 +0800 you wrote:
> 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>
> ---
>  arch/riscv/kernel/asm-offsets.c | 1 -
>  1 file changed, 1 deletion(-)

Here is the summary with links:
  - riscv: Remove unused TASK_TI_FLAGS
    https://git.kernel.org/riscv/c/a4a58f510bd8

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-03-27  3:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-09  1:46 [PATCH] riscv: Remove unused TASK_TI_FLAGS Jinjie Ruan
2025-01-28  1:01 ` Charlie Jenkins
2025-03-27  3:25 ` patchwork-bot+linux-riscv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox