summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2018-09-22 10:43:01 +0200
committerEric W. Biederman <ebiederm@xmission.com>2018-09-27 21:55:00 +0200
commit009f608ab20a25d01a07e9e75e7d246e81252eb8 (patch)
tree0eb153f995a992b568dfffc37f7bdc03233865ec
parentsignal/arm64: Add and use arm64_force_sig_mceerr as appropriate (diff)
downloadlinux-009f608ab20a25d01a07e9e75e7d246e81252eb8.tar.xz
linux-009f608ab20a25d01a07e9e75e7d246e81252eb8.zip
signal/arm64: Remove arm64_force_sig_info
The function has no more callers so remove it. Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Tested-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
-rw-r--r--arch/arm64/include/asm/traps.h1
-rw-r--r--arch/arm64/kernel/traps.c6
2 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm64/include/asm/traps.h b/arch/arm64/include/asm/traps.h
index 193f0b0e8ee3..d32b8bd440af 100644
--- a/arch/arm64/include/asm/traps.h
+++ b/arch/arm64/include/asm/traps.h
@@ -39,7 +39,6 @@ void force_signal_inject(int signal, int code, unsigned long address);
void arm64_notify_segfault(unsigned long addr);
void arm64_force_sig_fault(int signo, int code, void __user *addr, const char *str);
void arm64_force_sig_mceerr(int code, void __user *addr, short lsb, const char *str);
-void arm64_force_sig_info(struct siginfo *info, const char *str);
/*
* Move regs->pc to next instruction and do necessary setup before it
diff --git a/arch/arm64/kernel/traps.c b/arch/arm64/kernel/traps.c
index baa96dfffeec..de67818258cd 100644
--- a/arch/arm64/kernel/traps.c
+++ b/arch/arm64/kernel/traps.c
@@ -262,12 +262,6 @@ void arm64_force_sig_mceerr(int code, void __user *addr, short lsb,
force_sig_mceerr(code, addr, lsb, current);
}
-void arm64_force_sig_info(struct siginfo *info, const char *str)
-{
- arm64_show_signal(info->si_signo, str);
- force_sig_info(info->si_signo, info, current);
-}
-
void arm64_notify_die(const char *str, struct pt_regs *regs,
int signo, int sicode, void __user *addr,
int err)