VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Mickaël Salaün <mic@digikod.net> 2015-12-29 21:35:44 +0100 committer: Richard Weinberger <richard@nod.at> 2016-01-10 21:49:48 +0100 commit: e04c989eb785af61d2895d76d38c09166296f9c5 parent: a7df4716d19594b7b3f106f0bc0ca1c548e508e6
Commit Summary:
um: Fix ptrace GETREGS/SETREGS bugs
Diffstat:
1 file changed, 0 insertions, 6 deletions
diff --git a/arch/um/os-Linux/skas/process.c b/arch/um/os-Linux/skas/process.c
index b856c66ebd3a..23025d645160 100644
--- a/arch/um/os-Linux/skas/process.c
+++ b/arch/um/os-Linux/skas/process.c
@@ -172,13 +172,6 @@ static void handle_trap(int pid, struct uml_pt_regs *regs,
 	handle_syscall(regs);
 }
 
-int get_syscall(struct uml_pt_regs *regs)
-{
-	UPT_SYSCALL_NR(regs) = PT_SYSCALL_NR(regs->gp);
-
-	return UPT_SYSCALL_NR(regs);
-}
-
 extern char __syscall_stub_start[];
 
 static int userspace_tramp(void *stack)