summaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-10-23 04:51:14 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-11-29 05:43:42 +0100
commitafa86fc426ff7e7f5477f15da9c405d08d5cf790 (patch)
tree0f82925269757902ce6f7c287a968f7b439d2b2d /arch/parisc
parentbfin: switch to generic vfork, get rid of pointless wrappers (diff)
downloadlinux-afa86fc426ff7e7f5477f15da9c405d08d5cf790.tar.xz
linux-afa86fc426ff7e7f5477f15da9c405d08d5cf790.zip
flagday: don't pass regs to copy_thread()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/kernel/process.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/parisc/kernel/process.c b/arch/parisc/kernel/process.c
index 9753ecf49a06..d13507246c5d 100644
--- a/arch/parisc/kernel/process.c
+++ b/arch/parisc/kernel/process.c
@@ -204,10 +204,9 @@ int dump_task_fpu (struct task_struct *tsk, elf_fpregset_t *r)
int
copy_thread(unsigned long clone_flags, unsigned long usp,
- unsigned long arg,
- struct task_struct *p, struct pt_regs *unused)
+ unsigned long arg, struct task_struct *p)
{
- struct pt_regs * cregs = &(p->thread.regs);
+ struct pt_regs *cregs = &(p->thread.regs);
void *stack = task_stack_page(p);
/* We have to use void * instead of a function pointer, because