x86: Add atomic operations
authorSimon Glass <sjg@chromium.org>
Wed, 29 Apr 2015 02:25:12 +0000 (20:25 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 30 Apr 2015 03:02:33 +0000 (21:02 -0600)
commitb551173b73b4ae167c2e592a57a2e46426ebd1af
treed946621daa7e8eaf4b5d85dda98c178387ae09b1
parent8e2fac051a477cec406606afaf3d4cec7fbdcbd4
x86: Add atomic operations

Add a subset of this header file from Linux 4.0 to support atomic operations
in U-Boot.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/atomic.h [new file with mode: 0644]