Skip to content

Commit ce7bfc7

Browse files
dhowellstorvalds
authored andcommitted
FRV: Fix incorrect symbol in copy_thread()
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.) Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Al Viro <viro@ZenIV.linux.org.uk> cc: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 819e1c5 commit ce7bfc7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/frv/kernel/process.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ int copy_thread(unsigned long clone_flags,
194194
memset(childregs, 0, sizeof(struct pt_regs));
195195
childregs->gr9 = usp; /* function */
196196
childregs->gr8 = arg;
197-
chilregs->psr = PSR_S;
197+
childregs->psr = PSR_S;
198198
p->thread.pc = (unsigned long) ret_from_kernel_thread;
199199
save_user_regs(p->thread.user);
200200
return 0;

0 commit comments

Comments
 (0)