summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/process.c
diff options
context:
space:
mode:
authorAlexey Dobriyan2009-04-03 01:56:59 +0200
committerLinus Torvalds2009-04-03 04:04:51 +0200
commit6f2c55b843836d26528c56a0968689accaedbc67 (patch)
tree17501e29d4b6ef3eb85da9a5d6ad3df7f19ec6a2 /arch/powerpc/kernel/process.c
parentmemory_accessor: implement the new memory_accessor interfaces for SPI EEPROMs (diff)
downloadkernel-qcow2-linux-6f2c55b843836d26528c56a0968689accaedbc67.tar.gz
kernel-qcow2-linux-6f2c55b843836d26528c56a0968689accaedbc67.tar.xz
kernel-qcow2-linux-6f2c55b843836d26528c56a0968689accaedbc67.zip
Simplify copy_thread()
First argument unused since 2.3.11. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: <linux-arch@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/powerpc/kernel/process.c')
-rw-r--r--arch/powerpc/kernel/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c
index eac064948780..7b44a33f03c2 100644
--- a/arch/powerpc/kernel/process.c
+++ b/arch/powerpc/kernel/process.c
@@ -598,7 +598,7 @@ void prepare_to_copy(struct task_struct *tsk)
/*
* Copy a thread..
*/
-int copy_thread(int nr, unsigned long clone_flags, unsigned long usp,
+int copy_thread(unsigned long clone_flags, unsigned long usp,
unsigned long unused, struct task_struct *p,
struct pt_regs *regs)
{