powerpc: enable ZFS on 32 bit powerpc/powerpcspe

Enable ZFS on powerpc 32 bit since it appears to build and work
correctly.

MFC after:	3 weeks
Relnotes:	yes
This commit is contained in:
Alfredo Dal'Ava Junior 2023-03-12 03:20:11 -03:00
parent c5c9d980c4
commit 63715498ac
3 changed files with 1 additions and 11 deletions

View File

@ -356,11 +356,6 @@ __DEFAULT_NO_OPTIONS+=OPENMP
BROKEN_OPTIONS+= OFED
.endif
# ZFS is broken on 32-bit powerpc (missing atomics), but works on 64-bit
.if ${__T} == "powerpc" || ${__T} == "powerpcspe"
BROKEN_OPTIONS+= ZFS LOADER_ZFS
.endif
.include <bsd.mkopt.mk>
#

View File

@ -78,11 +78,6 @@ __DEFAULT_NO_OPTIONS = \
BROKEN_OPTIONS+= INIT_ALL_ZERO
.endif
# ZFS is broken on 32-bit powerpc, missing atomics
.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpcspe"
BROKEN_OPTIONS+= ZFS
.endif
# Broken on 32-bit arm, kernel module compile errors
.if ${MACHINE_CPUARCH} == "arm"
BROKEN_OPTIONS+= OFED

View File

@ -643,7 +643,7 @@ _mpr= mpr
SUBDIR+= tests
.endif
.if ${MK_ZFS} != "no" || (defined(ALL_MODULES) && ${MACHINE_CPUARCH} != "powerpc")
.if ${MK_ZFS} != "no" || defined(ALL_MODULES)
SUBDIR+= zfs
.endif