As with ZFS use real atomic operations for sparc64.
This commit is contained in:
parent
d5bea02652
commit
10de032202
@ -7,7 +7,7 @@ SRCS= opensolaris.c \
|
||||
opensolaris_cmn_err.c \
|
||||
opensolaris_kmem.c
|
||||
|
||||
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64"
|
||||
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "sparc64"
|
||||
.PATH: ${.CURDIR}/../../cddl/contrib/opensolaris/common/atomic/${MACHINE_ARCH}
|
||||
SRCS+= atomic.S
|
||||
.else
|
||||
|
Loading…
Reference in New Issue
Block a user