uml: style fixes in arch/um/sys-x86_64
Style fixes in arch/um/sys-x86_64: updated copyrights CodingStyle fixes added severities to printks which needed them A bunch of functions in sys-*/ptrace_user.c turn out to be unused, so they and their declarations are gone. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
7281ff952c
commit
95906b24fb
@ -19,17 +19,3 @@ int ptrace_setregs(long pid, unsigned long *regs)
|
||||
return -errno;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int ptrace_getfpregs(long pid, unsigned long *regs)
|
||||
{
|
||||
if (ptrace(PTRACE_GETFPREGS, pid, 0, regs) < 0)
|
||||
return -errno;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int ptrace_setfpregs(long pid, unsigned long *regs)
|
||||
{
|
||||
if (ptrace(PTRACE_SETFPREGS, pid, 0, regs) < 0)
|
||||
return -errno;
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user