diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 34e6c9c68f0e..99604d1418fb 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -522,7 +522,7 @@ _cxgbe= cxgbe SUBDIR+= zfs .endif -.if ${MACHINE_CPUARCH} == "mips" +.if (${MACHINE_CPUARCH} == "mips" && ${MACHINE_ARCH:Mmips64} == "") _hwpmc_mips24k= hwpmc_mips24k _hwpmc_mips74k= hwpmc_mips74k .endif