]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
FRV: Fix incorrect symbol in copy_thread() [ver #2]
authorDavid Howells <dhowells@redhat.com>
Mon, 15 Oct 2012 12:21:44 +0000 (13:21 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 15 Oct 2012 14:51:18 +0000 (10:51 -0400)
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 <dhowells@redhat.com>
cc: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/frv/kernel/process.c

index 655d90d20bb0cad25df015e7bdc9dee6dbf4e37b..e1e3aa196aa4c25adcb33ed09fe1296b4be8e69d 100644 (file)
@@ -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;