Add atomic_swap_ptr()
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 6 Mar 2018 19:12:13 +0000 (11:12 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 30 Apr 2018 18:31:44 +0000 (14:31 -0400)
commit0129a3bae4e5c831946f93a3f75b520b98d35532
tree527a0db39a992f1658973577bb25e8a4cb0a549e
parentfcdc9d0e528a9b7d9cb38f1e4fd2d2e4fca23a30
Add atomic_swap_ptr()

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/arch/riscv/atomic.h
kern/arch/x86/atomic.h