summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include/asm/processor.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-11-16 22:28:06 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-11-16 22:28:06 -0500
commit48944cc84db35e2e023c19a772dd52a7114e12cb (patch)
treedea4081d7c865f0c24aacc112d88c6f3f9da7e6e /arch/xtensa/include/asm/processor.h
parentd05f06e60df4f56a70fb8a3e46335b40687169e9 (diff)
parentdc241f2c1761bfdec85915f4bbf7e750663f3442 (diff)
downloadlinux-48944cc84db35e2e023c19a772dd52a7114e12cb.tar.gz
linux-48944cc84db35e2e023c19a772dd52a7114e12cb.tar.bz2
linux-48944cc84db35e2e023c19a772dd52a7114e12cb.zip
Merge branch 'arch-xtensa' into no-rebases
Diffstat (limited to 'arch/xtensa/include/asm/processor.h')
-rw-r--r--arch/xtensa/include/asm/processor.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/xtensa/include/asm/processor.h b/arch/xtensa/include/asm/processor.h
index 5c371d8d4528..2d630e7399ca 100644
--- a/arch/xtensa/include/asm/processor.h
+++ b/arch/xtensa/include/asm/processor.h
@@ -152,6 +152,7 @@ struct thread_struct {
/* Clearing a0 terminates the backtrace. */
#define start_thread(regs, new_pc, new_sp) \
+ memset(regs, 0, sizeof(*regs)); \
regs->pc = new_pc; \
regs->ps = USER_PS_VALUE; \
regs->areg[1] = new_sp; \
@@ -168,9 +169,6 @@ struct mm_struct;
/* Free all resources held by a thread. */
#define release_thread(thread) do { } while(0)
-/* Create a kernel thread without removing it from tasklists */
-extern int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags);
-
/* Copy and release all segment info associated with a VM */
#define copy_segments(p, mm) do { } while(0)
#define release_segments(mm) do { } while(0)