riscv: Remove unused asm/signal.h file
PATCH v2 1/1 riscv: Remove unused asm/signal.h file
When riscv moved to common entry the definition and usage of do_work_pending was removed. This unused header file remains.
Remove the header file as it is not used.
I have tested compiling the kernel with this patch applied and saw no issues. Noticed when auditing how different ports handle signals related to saving FPU state.
---
Resending with reviewed-by.
arch/riscv/include/asm/signal.h | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 arch/riscv/include/asm/signal.h
arch/riscv/include/asm/signal.h deleted +0 -12
@@ -1,12 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef __ASM_SIGNAL_H -#define __ASM_SIGNAL_H - -#include <uapi/asm/signal.h> -#include <uapi/asm/ptrace.h> - -asmlinkage __visible -void do_work_pending (struct pt_regs *regs,unsigned long thread_info_flags); - -#endif
Signature · 1 line
2.44.0
This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt <[email protected]>:
Hello:
This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt <[email protected]>:
Quoted 10 lines · On Sat, 30 Mar 2024 11:13:05 +0000 you wrote:
When riscv moved to common entry the definition and usage of
do_work_pendingwas removed. This unused header file remains.Remove the header file as it is not used.
I have tested compiling the kernel with this patch applied and saw no issues. Noticed when auditing how different ports handle signals related to saving FPU state.
[...]
Here is the summary with links:
- [v2] riscv: Remove unused asm/signal.h file
https://git.kernel.org/riscv/c/3dfbd2d26b64
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html