Make use of asm-generic/atomic.h. Signed-off-by: Chris Packham <judge.packham@gmail.com>
This is needed for the UBIFS support. The file is a copy of arch/xtensa/include/asm/atomic.h Signed-off-by: Stefan Roese <sr@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>