Unverified Commit 3dfbd2d2 authored by Stafford Horne's avatar Stafford Horne Committed by Palmer Dabbelt
Browse files

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.

Fixes: f0bddf50 ("riscv: entry: Convert to generic entry")
Signed-off-by: default avatarStafford Horne <shorne@gmail.com>
Reviewed-by: default avatarGuo Ren <guoren@kernel.org>
Link: https://lore.kernel.org/r/20240310112129.376134-1-shorne@gmail.com


Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent 4cece764
Loading
Loading
Loading
Loading

arch/riscv/include/asm/signal.h

deleted100644 → 0
+0 −12
Original line number Diff line number Diff line
/* 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