From: David Howells Date: Mon, 15 Oct 2012 12:21:44 +0000 (+0100) Subject: FRV: Fix incorrect symbol in copy_thread() [ver #2] X-Git-Tag: next-20121016~4^2^9~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6219d656c9d12fa36307db576fa88de3460f9f48;p=karo-tx-linux.git FRV: Fix incorrect symbol in copy_thread() [ver #2] Fix an incorrect symbol in copy_thread(): arch/frv/kernel/process.c: In function 'copy_thread': arch/frv/kernel/process.c:197: error: 'chilregs' undeclared (first use in this function) arch/frv/kernel/process.c:197: error: (Each undeclared identifier is reported only once arch/frv/kernel/process.c:197: error: for each function it appears in.) m Signed-off-by: David Howells cc: Al Viro Signed-off-by: Al Viro --- diff --git a/arch/frv/kernel/process.c b/arch/frv/kernel/process.c index 655d90d20bb0..e1e3aa196aa4 100644 --- a/arch/frv/kernel/process.c +++ b/arch/frv/kernel/process.c @@ -194,7 +194,7 @@ int copy_thread(unsigned long clone_flags, memset(childregs, 0, sizeof(struct pt_regs)); childregs->gr9 = usp; /* function */ childregs->gr8 = arg; - chilregs->psr = PSR_S; + childregs->psr = PSR_S; p->thread.pc = (unsigned long) ret_from_kernel_thread; save_user_regs(p->thread.user); return 0;