diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2017-11-29 15:36:56 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-12-03 22:08:53 -0600 |
commit | 1486a08de557b8f237a066a57cc2c74961ba36e0 (patch) | |
tree | 493986a01191b9d5449fb43dc421a8ea7a1e1dc5 /asm/Makefile.inc | |
parent | 1e85912b921028bafa3a68fa286682a5d21a1223 (diff) | |
download | talos-skiboot-1486a08de557b8f237a066a57cc2c74961ba36e0.tar.gz talos-skiboot-1486a08de557b8f237a066a57cc2c74961ba36e0.zip |
core/lock: Introduce atomic cmpxchg and implement try_lock with it
cmpxchg will be used in a subsequent change, and this reduces the
amount of asm code.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[stewart: fix some ifdef __TEST__ foo to ensure unittests work]
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'asm/Makefile.inc')
-rw-r--r-- | asm/Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/Makefile.inc b/asm/Makefile.inc index 2e678fd8..34e2b288 100644 --- a/asm/Makefile.inc +++ b/asm/Makefile.inc @@ -1,7 +1,7 @@ # -*-Makefile-*- SUBDIRS += asm -ASM_OBJS = head.o lock.o misc.o kernel-wrapper.o rom_entry.o +ASM_OBJS = head.o misc.o kernel-wrapper.o rom_entry.o ASM=asm/built-in.o # Add extra dependency to the kernel wrapper |