]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SPARC64]: Move syscall success and newchild state out of thread flags.
authorDavid S. Miller <davem@davemloft.net>
Mon, 25 Jul 2005 02:36:26 +0000 (19:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jul 2005 02:36:26 +0000 (19:36 -0700)
commitdb7d9a4eb700be766cc9f29241483dbb1e748832
tree48848384df15d9404ceab05867d7f4ef6b1a4bbe
parentcdd5186f753b23ab51f86679bdc4cc698ab0b893
[SPARC64]: Move syscall success and newchild state out of thread flags.

These two bits were accesses non-atomically from assembler
code.  So, in order to eliminate any potential races resulting
from that, move these pieces of state into two bytes elsewhere
in struct thread_info.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/entry.S
arch/sparc64/kernel/process.c
arch/sparc64/kernel/smp.c
arch/sparc64/kernel/traps.c
include/asm-sparc64/ptrace.h
include/asm-sparc64/system.h
include/asm-sparc64/thread_info.h