struct syscall's flags is now an atomic_t (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 14 Apr 2011 23:17:24 +0000 (16:17 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:36:01 +0000 (17:36 -0700)
commit236911677b76b93f5efd31b3ae9e26706b1e7145
tree400ed0ea3540137b4b34787acb8d60b492e4cffb
parentcfc3b9d9ce1798e2251a6d550105c62eebe17d95
struct syscall's flags is now an atomic_t (XCC)

Sparc needed this, since their atomic or works weirdly.  Also, it's a
bit safer in general.  Note, you shouldn't try to 'or' in flags in the
third byte, since sparc's atomics will break.

Rebuild your cross compiler.
kern/arch/i686/atomic.h
kern/arch/sparc/atomic.h
kern/include/ros/syscall.h
kern/src/syscall.c
tests/syscall.c
user/parlib/asynccall.c
user/parlib/uthread.c