diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-16 22:28:06 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-16 22:28:06 -0500 |
commit | 48944cc84db35e2e023c19a772dd52a7114e12cb (patch) | |
tree | dea4081d7c865f0c24aacc112d88c6f3f9da7e6e /arch/xtensa/include/asm/processor.h | |
parent | d05f06e60df4f56a70fb8a3e46335b40687169e9 (diff) | |
parent | dc241f2c1761bfdec85915f4bbf7e750663f3442 (diff) | |
download | linux-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.h | 4 |
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) |